Commit bd3d6211 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/skins2/x11/x11_factory.cpp: added "share/skins2" to the resource paths.

* modules/gui/skins2/x11/x11_factory.cpp: small cosmetic change in a string.
parent 5bc7adee
...@@ -169,7 +169,7 @@ void Dialogs::showChangeSkin() ...@@ -169,7 +169,7 @@ void Dialogs::showChangeSkin()
p_arg->b_blocking = false; p_arg->b_blocking = false;
p_arg->psz_title = strdup( _("Open a skin file.") ); p_arg->psz_title = strdup( _("Open a skin file") );
p_arg->psz_extensions = p_arg->psz_extensions =
strdup( _("Skin files (*.vlt)|*.vlt|Skin files (*.xml)|*.xml|") ); strdup( _("Skin files (*.vlt)|*.vlt|Skin files (*.xml)|*.xml|") );
......
...@@ -72,6 +72,7 @@ bool X11Factory::init() ...@@ -72,6 +72,7 @@ bool X11Factory::init()
// Initialize the resource path // Initialize the resource path
m_resourcePath.push_back( (string)getIntf()->p_vlc->psz_homedir + m_resourcePath.push_back( (string)getIntf()->p_vlc->psz_homedir +
m_dirSep + CONFIG_DIR + "/skins2" ); m_dirSep + CONFIG_DIR + "/skins2" );
m_resourcePath.push_back( (string)"share/skins2" );
m_resourcePath.push_back( (string)DATA_PATH + "/skins2" ); m_resourcePath.push_back( (string)DATA_PATH + "/skins2" );
return true; 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