- Forcing 'classic' as the builtin classic theme (which means it ignores the classic.ini atm)

svn-id: r24216
This commit is contained in:
Johannes Schickel 2006-10-08 18:49:25 +00:00
parent 0b75c74717
commit 1ced1777f8
3 changed files with 28 additions and 13 deletions

View file

@ -82,6 +82,13 @@ void ThemeBrowser::handleCommand(CommandSender *sender, uint32 cmd, uint32 data)
void ThemeBrowser::updateListing() {
_themes.clear();
// classic is always build in
Entry th;
th.name = "classic";
th.type = "classic";
th.file = "classic";
_themes.push_back(th);
if (ConfMan.hasKey("themepath"))
addDir(_themes, ConfMan.get("themepath"), 0);