]> git.sesse.net Git - vlc/commitdiff
* gui/wxwindows/open.cpp: removed deprecated DVD entries.
authorGildas Bazin <gbazin@videolan.org>
Fri, 25 Jun 2004 14:25:27 +0000 (14:25 +0000)
committerGildas Bazin <gbazin@videolan.org>
Fri, 25 Jun 2004 14:25:27 +0000 (14:25 +0000)
* access/dvdread.c: added dvdsimple shortcut.

modules/access/dvdread.c
modules/gui/wxwindows/open.cpp

index 3140680f6d0816cf8e12c4be90b3204908c5ee12..79062e4b775ac58a633c964b5a2e76845e044463 100644 (file)
@@ -90,8 +90,9 @@ vlc_module_begin();
                 CSSMETHOD_LONGTEXT, VLC_TRUE );
         change_string_list( psz_css_list, psz_css_list_text, 0 );
     set_capability( "access_demux", 0 );
-    add_shortcut( "dvd" );
+    //add_shortcut( "dvd" );
     add_shortcut( "dvdread" );
+    add_shortcut( "dvdsimple" );
     set_callbacks( Open, Close );
 vlc_module_end();
 
index 721f8e9f346c1f2b1c4b2eb094aa446e5ae2be3f..4ad745a40df8bdf5ef68603ea74aa7e024228be9 100644 (file)
@@ -612,7 +612,6 @@ wxPanel *OpenDialog::DiscPanel( wxWindow* parent )
         wxU(_("DVD")),
         wxU(_("VCD")),
         wxU(_("Audio CD")),
-        wxU(_("DVD (test)"))
     };
 
     disc_type = new wxRadioBox( panel, DiscType_Event, wxU(_("Disc type")),
@@ -772,7 +771,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
 
       switch ( i_disc_type_selection )
         {
-        case 0: /* DVD with menues */
+        case 0: /* DVD with menus */
           disc_chapter->Enable();
           disc_chapter_label->Enable();
           mrltemp = wxT("dvd://")
@@ -782,7 +781,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
                                       disc_chapter->GetValue() );
           break;
 
-        case 1: /* DVD of some sort */
+        case 1: /* DVD without menus */
           disc_chapter->Enable();
           disc_chapter_label->Enable();
           mrltemp = wxT("dvdsimple://")
@@ -844,16 +843,6 @@ void OpenDialog::UpdateMRL( int i_access_method )
 #endif
           break;
 
-        case 4: /* DVD of some sort */
-          disc_chapter->Enable();
-          disc_chapter_label->Enable();
-          mrltemp = wxT("dvdnav://")
-                  + disc_device->GetValue()
-                  + wxString::Format( wxT("@%d:%d"),
-                                      disc_title->GetValue(),
-                                      disc_chapter->GetValue() );
-          break;
-
         default: ;
           msg_Err( p_intf, "invalid selection (%d)",
                    disc_type->GetSelection() );