Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
158bb3ed
Commit
158bb3ed
authored
Apr 06, 2003
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- modules/gui/skins/skin_main.cpp: Try to open the default XML file first
parent
e6e6a0ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
modules/gui/skins/src/skin_main.cpp
modules/gui/skins/src/skin_main.cpp
+9
-1
No files found.
modules/gui/skins/src/skin_main.cpp
View file @
158bb3ed
...
...
@@ -2,7 +2,7 @@
* skin-main.cpp: skins plugin for VLC
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: skin_main.cpp,v 1.
4 2003/03/30 18:14:38 gbazin
Exp $
* $Id: skin_main.cpp,v 1.
5 2003/04/06 17:57:11 ipkiss
Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -152,7 +152,15 @@ static void Run( intf_thread_t *p_intf )
if
(
skin_last
==
NULL
||
!
Loader
->
Load
(
skin_last
)
)
{
// Too bad, it failed. Let's try with the default theme
#if 0
if( ! Loader->Load( DEFAULT_SKIN_FILE ) )
#else
string
default_dir
=
(
string
)
p_intf
->
p_libvlc
->
psz_vlcpath
+
DIRECTORY_SEPARATOR
+
"skins"
+
DIRECTORY_SEPARATOR
+
"default"
+
DIRECTORY_SEPARATOR
+
"theme.xml"
;
if
(
!
Loader
->
Load
(
default_dir
)
)
#endif
{
// Last chance: the user can select a new theme file
...
...
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