Author: reinhard
Date: 2006-10-10 14:24:36 -0500 (Tue, 10 Oct 2006)
New Revision: 8736

Modified:
   trunk/gnue-forms/src/GFForm.py
Log:
Form is already set up at the time we open it, no need to refresh display or
other stuff.


Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py      2006-10-10 19:20:16 UTC (rev 8735)
+++ trunk/gnue-forms/src/GFForm.py      2006-10-10 19:24:36 UTC (rev 8736)
@@ -271,6 +271,7 @@
 
         # Set initial focus
         self.findAndChangeFocus(self)
+
         self.processTrigger('On-Startup')
 
 
@@ -290,14 +291,6 @@
         assert gDebug(4, "Processing activation trigger")
         self.processTrigger('On-Activation')
 
-        # First set the current entry to be focused and up to date before
-        # displaying the real UI form. 
-        assert gDebug(4, "Initial display setup")    
-        self.refreshDisplay(self)
-        self.update_status()
-
-        assert gDebug(4, "Setting initial focus")    
-        self.adjust_ui_focus()
         self.beginEditing()
 
         self.__visible = True



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to