[Scummvm-cvs-logs] SF.net SVN: scummvm: [24230] scummvm/trunk/gui/options.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Oct 8 21:54:57 CEST 2006
Revision: 24230
http://svn.sourceforge.net/scummvm/?rev=24230&view=rev
Author: lordhoto
Date: 2006-10-08 12:54:52 -0700 (Sun, 08 Oct 2006)
Log Message:
-----------
Now the 'gui_theme' setting saving works...
Modified Paths:
--------------
scummvm/trunk/gui/options.cpp
Modified: scummvm/trunk/gui/options.cpp
===================================================================
--- scummvm/trunk/gui/options.cpp 2006-10-08 19:51:20 UTC (rev 24229)
+++ scummvm/trunk/gui/options.cpp 2006-10-08 19:54:52 UTC (rev 24230)
@@ -690,7 +690,7 @@
tab->addTab("Misc");
new ButtonWidget(tab, "globaloptions_themebutton2", "Theme:", kChooseThemeCmd, 0);
- _curTheme = new StaticTextWidget(tab, "globaloptions_curtheme", ConfMan.get("gui_theme", Common::ConfigManager::kTransientDomain));
+ _curTheme = new StaticTextWidget(tab, "globaloptions_curtheme", ConfMan.get("gui_theme"));
// TODO: joystick setting
@@ -812,7 +812,7 @@
if (0 != theme.compareToIgnoreCase(g_gui.theme()->getStylefileName()))
if (g_gui.loadNewTheme(theme)) {
_curTheme->setLabel(theme);
- ConfMan.set("gui_theme", theme, Common::ConfigManager::kTransientDomain);
+ ConfMan.set("gui_theme", theme);
}
draw();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list