1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-26 11:56:16 +02:00

GMenu2X now won't load skin files from the Default skin when using another skin.

This was causing trouble when the current skin does not provide graphical files on purpose (ie. skin with no top/bottom bar).
This commit is contained in:
Ayla 2011-07-09 01:49:09 +02:00
parent 4b22318b09
commit 439d25c292

View File

@ -72,13 +72,6 @@ string SurfaceCollection::getSkinFilePath(const string &skin, const string &file
if (fileExists(path)) if (fileExists(path))
return path; return path;
/* If it is nowhere to be found, as a last resort we check the
* "Default" skin on the system directory for a corresponding
* (but probably not similar) file. */
path = GMENU2X_SYSTEM_DIR "/skins/Default/" + file;
if (fileExists(path))
return path;
return ""; return "";
} }