no time to fix the playlist save&restore issue before the release (and
authorBoris Dorès <babal@videolan.org>
Sun, 29 Dec 2002 21:00:39 +0000 (21:00 +0000)
committerBoris Dorès <babal@videolan.org>
Sun, 29 Dec 2002 21:00:39 +0000 (21:00 +0000)
wouldn't be wise anyway), so deactivated it in the win32 interface.

modules/gui/win32/playlist.cpp
modules/gui/win32/playlist.dfm
modules/gui/win32/playlist.h

index 204df11..dc2d710 100644 (file)
@@ -428,7 +428,7 @@ void __fastcall TPlaylistDlg::MenuFileOpenClick(TObject *Sender)
 {\r
     if ( PlaylistOpenDlg->Execute() )\r
     {\r
-        playlist_LoadFile ( p_playlist , PlaylistOpenDlg->FileName.c_str() );\r
+//        playlist_LoadFile ( p_playlist , PlaylistOpenDlg->FileName.c_str() );\r
         UpdateGrid();\r
     }\r
 }\r
@@ -438,7 +438,7 @@ void __fastcall TPlaylistDlg::MenuFileSaveClick(TObject *Sender)
 {\r
     if ( PlaylistSaveDlg->Execute() )\r
     {\r
-        playlist_SaveFile ( p_playlist , PlaylistSaveDlg->FileName.c_str() );\r
+//        playlist_SaveFile ( p_playlist , PlaylistSaveDlg->FileName.c_str() );\r
     }\r
 }\r
 //---------------------------------------------------------------------------\r
index 0a13c11..d9a01d7 100644 (file)
@@ -59,24 +59,6 @@ object PlaylistDlg: TPlaylistDlg
   object MainMenuPlaylist: TMainMenu\r
     Left = 8\r
     Top = 8\r
-    object MenuFile: TMenuItem\r
-      Caption = '&File'\r
-      object MenuFileOpen: TMenuItem\r
-        Caption = '&Open...'\r
-        OnClick = MenuFileOpenClick\r
-      end\r
-      object MenuFileSave: TMenuItem\r
-        Caption = '&Save...'\r
-        OnClick = MenuFileSaveClick\r
-      end\r
-      object N3: TMenuItem\r
-        Caption = '-'\r
-      end\r
-      object MenuFileClose: TMenuItem\r
-        Caption = '&Close'\r
-        OnClick = MenuFileCloseClick\r
-      end\r
-    end\r
     object MenuAdd: TMenuItem\r
       Tag = 3\r
       Caption = '&Add'\r
index 3a859fc..0de786b 100644 (file)
@@ -73,11 +73,6 @@ __published: // IDE-managed Components
     TAction *DeleteSelectionAction;\r
     TAction *DeleteAllAction;\r
     TAction *PlayStreamAction;\r
-    TMenuItem *MenuFile;\r
-    TMenuItem *MenuFileOpen;\r
-    TMenuItem *MenuFileSave;\r
-   TMenuItem *N3;\r
-    TMenuItem *MenuFileClose;\r
     TOpenDialog *PlaylistOpenDlg;\r
     TSaveDialog *PlaylistSaveDlg;\r
     void __fastcall FormShow( TObject *Sender );\r