Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
1b92f4ae
Commit
1b92f4ae
authored
Mar 19, 2003
by
Emmanuel Puig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed skin config save
parent
12ce13df
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
modules/gui/skins/src/skin_main.cpp
modules/gui/skins/src/skin_main.cpp
+3
-3
modules/gui/skins/src/theme.cpp
modules/gui/skins/src/theme.cpp
+2
-2
modules/gui/skins/src/themeloader.cpp
modules/gui/skins/src/themeloader.cpp
+2
-2
No files found.
modules/gui/skins/src/skin_main.cpp
View file @
1b92f4ae
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* skin-main.cpp: skins plugin for VLC
* skin-main.cpp: skins plugin for VLC
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* 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>
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
@@ -225,8 +225,8 @@ vlc_module_begin();
...
@@ -225,8 +225,8 @@ vlc_module_begin();
SKIN_TASKBAR_LONG
,
VLC_FALSE
);
SKIN_TASKBAR_LONG
,
VLC_FALSE
);
set_description
(
_
(
"Skinnable Interface Module"
)
);
set_description
(
_
(
"Skinnable Interface Module"
)
);
set_capability
(
"interface"
,
30
);
set_capability
(
"interface"
,
30
);
set_callbacks
(
E_
(
Open
),
E_
(
Close
)
);
set_callbacks
(
Open
,
Close
);
add_shortcut
(
"skin"
);
add_shortcut
(
"skin
s
"
);
vlc_module_end
();
vlc_module_end
();
...
...
modules/gui/skins/src/theme.cpp
View file @
1b92f4ae
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* theme.cpp: Theme class
* theme.cpp: Theme class
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* 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>
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
@@ -169,7 +169,7 @@ void Theme::SaveConfig()
...
@@ -169,7 +169,7 @@ void Theme::SaveConfig()
config_PutPsz
(
p_intf
,
"skin_config"
,
save
);
config_PutPsz
(
p_intf
,
"skin_config"
,
save
);
config_PutInt
(
p_intf
,
"show_in_tray"
,
(
int
)
ShowInTray
);
config_PutInt
(
p_intf
,
"show_in_tray"
,
(
int
)
ShowInTray
);
config_PutInt
(
p_intf
,
"show_in_taskbar"
,
(
int
)
ShowInTaskbar
);
config_PutInt
(
p_intf
,
"show_in_taskbar"
,
(
int
)
ShowInTaskbar
);
config_SaveConfigFile
(
p_intf
,
"skin"
);
config_SaveConfigFile
(
p_intf
,
"skin
s
"
);
// Free memory
// Free memory
delete
[]
save
;
delete
[]
save
;
...
...
modules/gui/skins/src/themeloader.cpp
View file @
1b92f4ae
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* themeloader.cpp: ThemeLoader class
* themeloader.cpp: ThemeLoader class
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* 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>
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
@@ -236,7 +236,7 @@ bool ThemeLoader::Load( const string FileName )
...
@@ -236,7 +236,7 @@ bool ThemeLoader::Load( const string FileName )
else
else
{
{
config_PutPsz
(
p_intf
,
"skin_last"
,
FileName
.
c_str
()
);
config_PutPsz
(
p_intf
,
"skin_last"
,
FileName
.
c_str
()
);
config_SaveConfigFile
(
p_intf
,
"skin"
);
config_SaveConfigFile
(
p_intf
,
"skin
s
"
);
}
}
return
true
;
return
true
;
...
...
Write
Preview
Markdown
is supported
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