]> git.sesse.net Git - vlc/commitdiff
* Fixed skin config save
authorEmmanuel Puig <karibu@videolan.org>
Wed, 19 Mar 2003 03:11:14 +0000 (03:11 +0000)
committerEmmanuel Puig <karibu@videolan.org>
Wed, 19 Mar 2003 03:11:14 +0000 (03:11 +0000)
modules/gui/skins/src/skin_main.cpp
modules/gui/skins/src/theme.cpp
modules/gui/skins/src/themeloader.cpp

index d87bae109e6b82d980a45312883af80dccb6834c..2fe3d96376315697097378056cb774d0da03202d 100644 (file)
@@ -2,7 +2,7 @@
  * skin-main.cpp: skins plugin for VLC
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: skin_main.cpp,v 1.1 2003/03/18 02:21:47 ipkiss Exp $
+ * $Id: skin_main.cpp,v 1.2 2003/03/19 03:11:14 karibu Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -225,8 +225,8 @@ vlc_module_begin();
               SKIN_TASKBAR_LONG, VLC_FALSE );
     set_description( _("Skinnable Interface Module") );
     set_capability( "interface", 30 );
-    set_callbacks( E_(Open), E_(Close) );
-    add_shortcut( "skin" );
+    set_callbacks( Open, Close );
+    add_shortcut( "skins" );
 vlc_module_end();
 
 
index ed1a9e56a91486a8276e2c8a409cb2aa698d0fce..bc62fa87721e094372bb2396dfe7e82b3d22c8cf 100644 (file)
@@ -2,7 +2,7 @@
  * theme.cpp: Theme class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: theme.cpp,v 1.1 2003/03/18 02:21:47 ipkiss Exp $
+ * $Id: theme.cpp,v 1.2 2003/03/19 03:11:14 karibu Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -169,7 +169,7 @@ void Theme::SaveConfig()
     config_PutPsz( p_intf, "skin_config",     save );
     config_PutInt( p_intf, "show_in_tray",    (int)ShowInTray );
     config_PutInt( p_intf, "show_in_taskbar", (int)ShowInTaskbar );
-    config_SaveConfigFile( p_intf, "skin" );
+    config_SaveConfigFile( p_intf, "skins" );
 
     // Free memory
     delete[] save;
index d221bf7b1f6f2538f4b4bdd12e9d144cd6ba15c8..7cb398effbdae1ff8b968cfefca04aa6f86d06ef 100644 (file)
@@ -2,7 +2,7 @@
  * themeloader.cpp: ThemeLoader class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: themeloader.cpp,v 1.2 2003/03/18 04:56:58 ipkiss Exp $
+ * $Id: themeloader.cpp,v 1.3 2003/03/19 03:11:14 karibu Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -236,7 +236,7 @@ bool ThemeLoader::Load( const string FileName )
     else
     {
         config_PutPsz( p_intf, "skin_last", FileName.c_str() );
-        config_SaveConfigFile( p_intf, "skin" );
+        config_SaveConfigFile( p_intf, "skins" );
     }
 
     return true;