commit-gnue
[Top][All Lists]
Advanced

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

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


From: reinhard
Subject: [gnue] r7077 - trunk/gnue-forms/src
Date: Wed, 2 Mar 2005 15:44:41 -0600 (CST)

Author: reinhard
Date: 2005-03-02 15:44:40 -0600 (Wed, 02 Mar 2005)
New Revision: 7077

Modified:
   trunk/gnue-forms/src/GFClient.py
   trunk/gnue-forms/src/GFForm.py
   trunk/gnue-forms/src/GFInstance.py
Log:
Improved debugging output.


Modified: trunk/gnue-forms/src/GFClient.py
===================================================================
--- trunk/gnue-forms/src/GFClient.py    2005-03-02 21:42:54 UTC (rev 7076)
+++ trunk/gnue-forms/src/GFClient.py    2005-03-02 21:44:40 UTC (rev 7077)
@@ -187,7 +187,7 @@
     gDebug (4, "Closing all connections")
     self.getConnectionManager ().closeAll ()
 
-    gEndFunc (4)
+    gEndFunc (4, hasResult = False)
 
 
   # ---------------------------------------------------------------------------

Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py      2005-03-02 21:42:54 UTC (rev 7076)
+++ trunk/gnue-forms/src/GFForm.py      2005-03-02 21:44:40 UTC (rev 7077)
@@ -618,6 +618,8 @@
     @return: None if all went well, error message otherwise
     """
 
+    gBeginFunc (4)
+
     self.endEditing ()
     if self.readonly:
       return _('Form is readonly')
@@ -685,6 +687,8 @@
       self.findAndChangeFocus (self._currentBlock)
       self.dispatchEvent ('endWAIT', _form = self)
 
+    gEndFunc (4, message)
+
     return message
 
 

Modified: trunk/gnue-forms/src/GFInstance.py
===================================================================
--- trunk/gnue-forms/src/GFInstance.py  2005-03-02 21:42:54 UTC (rev 7076)
+++ trunk/gnue-forms/src/GFInstance.py  2005-03-02 21:44:40 UTC (rev 7077)
@@ -344,8 +344,11 @@
       gDebug (4, "Startup complete")
       gDebug (4, "Entering main loop")
       self._uiinstance.mainLoop ()
+      gDebug (4, "Returning from main loop")
 
+    gEndFunc (4, hasResult = False)
 
+
   # ---------------------------------------------------------------------------
   # Activate a given form
   # ---------------------------------------------------------------------------





reply via email to

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