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
7272    if (fileExists(path))
7373      return path;
7474
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
7582    return "";
7683}
7784

Archive Download the corresponding diff file



interactive