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

The "configure skin" will now list all the skins present on the system and the user-specific directories.

This commit is contained in:
Ayla 2011-04-12 10:16:28 +02:00
parent c18c230f7a
commit f4b03108c1

View File

@ -1187,9 +1187,12 @@ void GMenu2X::settingsOpen2x() {
} }
void GMenu2X::skinMenu() { void GMenu2X::skinMenu() {
FileLister fl_sk("skins",true,false); FileLister fl_sk(GMENU2X_SYSTEM_DIR "/skins", true, false);
fl_sk.addExclude(".."); fl_sk.addExclude("..");
fl_sk.browse(); fl_sk.browse();
fl_sk.setPath(getHome() + "/skins", false);
fl_sk.browse(false);
string curSkin = confStr["skin"]; string curSkin = confStr["skin"];
SettingsDialog sd(this, input, ts, tr["Skin"]); SettingsDialog sd(this, input, ts, tr["Skin"]);