Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
1b92f4ae
Commit
1b92f4ae
authored
Mar 19, 2003
by
Emmanuel Puig
Browse files
* Fixed skin config save
parent
12ce13df
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/gui/skins/src/skin_main.cpp
View file @
1b92f4ae
...
...
@@ -2,7 +2,7 @@
* skin-main.cpp: skins plugin for VLC
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: skin_main.cpp,v 1.
1
2003/03/1
8
0
2:21:47 ipkiss
Exp $
* $Id: skin_main.cpp,v 1.
2
2003/03/1
9
0
3: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
(
"skin
s
"
);
vlc_module_end
();
...
...
modules/gui/skins/src/theme.cpp
View file @
1b92f4ae
...
...
@@ -2,7 +2,7 @@
* theme.cpp: Theme class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: theme.cpp,v 1.
1
2003/03/1
8
0
2:21:47 ipkiss
Exp $
* $Id: theme.cpp,v 1.
2
2003/03/1
9
0
3: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
,
"skin
s
"
);
// Free memory
delete
[]
save
;
...
...
modules/gui/skins/src/themeloader.cpp
View file @
1b92f4ae
...
...
@@ -2,7 +2,7 @@
* themeloader.cpp: ThemeLoader class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: themeloader.cpp,v 1.
2
2003/03/1
8
0
4:56:58 ipkiss
Exp $
* $Id: themeloader.cpp,v 1.
3
2003/03/1
9
0
3: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
,
"skin
s
"
);
}
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment