Commit 1b92f4ae authored by Emmanuel Puig's avatar Emmanuel Puig

* Fixed skin config save
parent 12ce13df
......@@ -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 Teulire <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();
......
......@@ -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 Teulire <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;
......
......@@ -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 Teulire <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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment