[Scummvm-cvs-logs] SF.net SVN: scummvm: [24223] scummvm/trunk/gui/options.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Oct 8 21:28:24 CEST 2006


Revision: 24223
          http://svn.sourceforge.net/scummvm/?rev=24223&view=rev
Author:   lordhoto
Date:     2006-10-08 12:28:15 -0700 (Sun, 08 Oct 2006)

Log Message:
-----------
Display the correct theme name if it's specified with --gui-theme

Modified Paths:
--------------
    scummvm/trunk/gui/options.cpp

Modified: scummvm/trunk/gui/options.cpp
===================================================================
--- scummvm/trunk/gui/options.cpp	2006-10-08 19:24:31 UTC (rev 24222)
+++ scummvm/trunk/gui/options.cpp	2006-10-08 19:28:15 UTC (rev 24223)
@@ -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", _domain));
+	_curTheme = new StaticTextWidget(tab, "globaloptions_curtheme", ConfMan.get("gui_theme", Common::ConfigManager::kTransientDomain));
 
 	// 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, _domain);
+					ConfMan.set("gui_theme", theme, Common::ConfigManager::kTransientDomain);
 				}
 			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