Date: | 2011-07-11 18:14:27 (12 years 8 months ago) |
---|---|
Author: | Paul Cercueil |
Commit: | 11e58c8ca56959aed929e0c6f95bc68e0b8eb8ad |
Message: | Revert "GMenu2X now won't load skin files from the Default skin
when using another skin." This reverts commit 439d25c292e62135f4730d0ba053793f7243f631. Refusing to load files of the Default skin for a different one is a bad idea; it requires that skin to provide every single PNG file needed by gmenu2x. |
Files: |
src/surfacecollection.cpp (1 diff) |
Change Details
src/surfacecollection.cpp | ||
---|---|---|
72 | 72 | if (fileExists(path)) |
73 | 73 | return path; |
74 | 74 | |
75 | /* If it is nowhere to be found, as a last resort we check the | |
76 | * "Default" skin on the system directory for a corresponding | |
77 | * (but probably not similar) file. */ | |
78 | path = GMENU2X_SYSTEM_DIR "/skins/Default/" + file; | |
79 | if (fileExists(path)) | |
80 | return path; | |
81 | ||
75 | 82 | return ""; |
76 | 83 | } |
77 | 84 |
Branches:
install_locations
master
opkrun
packages