commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9238 - trunk/gnue-forms/src


From: reinhard
Subject: [gnue] r9238 - trunk/gnue-forms/src
Date: Tue, 9 Jan 2007 09:19:43 -0600 (CST)

Author: reinhard
Date: 2007-01-09 09:19:41 -0600 (Tue, 09 Jan 2007)
New Revision: 9238

Modified:
   trunk/gnue-forms/src/GFForm.py
Log:
Moved ON-STARTUP trigger before UI form creation, so suppressing menu bar,
toolbar and status bar work again.


Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py      2007-01-09 10:55:35 UTC (rev 9237)
+++ trunk/gnue-forms/src/GFForm.py      2007-01-09 15:19:41 UTC (rev 9238)
@@ -301,6 +301,11 @@
         children have init'ed.
         """
 
+        # First of all, run the On-Startup trigger so it can suppress the tool
+        # bar, menu bar or status line. This of course means that the blocks
+        # are not yet populated while this trigger runs.
+        self.processTrigger('On-Startup')
+
         # Set the current page in case the buildForm on UI side generates a
         # _event_page_changed().
         self._currentPage = self._layout._pageList[0]
@@ -314,9 +319,7 @@
 
         self.update_insert_status()
 
-        self.processTrigger('On-Startup')
 
-
     # -------------------------------------------------------------------------
     # Set and get parameters for the form
     # -------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]