[rkward-cvs] SF.net SVN: rkward: [1838] trunk/rkward/rkward/rkward.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Apr 23 20:10:21 UTC 2007


Revision: 1838
          http://svn.sourceforge.net/rkward/?rev=1838&view=rev
Author:   tfry
Date:     2007-04-23 13:10:20 -0700 (Mon, 23 Apr 2007)

Log Message:
-----------
Save some layout information (where does the flicker come from?)

Modified Paths:
--------------
    trunk/rkward/rkward/rkward.cpp

Modified: trunk/rkward/rkward/rkward.cpp
===================================================================
--- trunk/rkward/rkward/rkward.cpp	2007-04-23 19:51:32 UTC (rev 1837)
+++ trunk/rkward/rkward/rkward.cpp	2007-04-23 20:10:20 UTC (rev 1838)
@@ -184,6 +184,8 @@
 void RKWardMainWindow::doPostInit () {
 	RK_TRACE (APP);
 
+	setUpdatesEnabled (false);
+
 	readOptions();
 	//It's necessary to give a different name to all tool windows, or they won't be properly displayed
 	RObjectBrowser::object_browser = new RObjectBrowser (0, true, "workspace");
@@ -223,6 +225,9 @@
 	RKWorkplace::mainWorkplace ()->registerToolWindow (help_search);
 	RKHelpSearchWindow::main_help_search = help_search;
 
+	dockManager->readConfig (kapp->config (), "tool window layout");
+	setUpdatesEnabled (true);
+
 	RKOutputWindow::initialize ();
 	RControlWindow::getControl ()->initialize ();
 
@@ -452,6 +457,8 @@
 	fileOpenRecentWorkspace->saveEntries(config, "Recent Files");
 	fileOpenRecent->saveEntries(config, "Recent Command Files");
 
+	dockManager->writeConfig (config, "tool window layout");
+
 	RKSettings::saveSettings (config);
 
 	config->sync ();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list