commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r9355 - trunk/gnue-forms/src/GFObjects


From: jan
Subject: [gnue] r9355 - trunk/gnue-forms/src/GFObjects
Date: Tue, 6 Feb 2007 08:37:53 -0600 (CST)

Author: jan
Date: 2007-02-06 08:37:52 -0600 (Tue, 06 Feb 2007)
New Revision: 9355

Modified:
   trunk/gnue-forms/src/GFObjects/GFTabStop.py
Log:
fix tooltip handling for GFButton widget


Modified: trunk/gnue-forms/src/GFObjects/GFTabStop.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFTabStop.py 2007-02-06 14:19:08 UTC (rev 
9354)
+++ trunk/gnue-forms/src/GFObjects/GFTabStop.py 2007-02-06 14:37:52 UTC (rev 
9355)
@@ -305,8 +305,10 @@
             tip = self.get_option('tip')
         elif isinstance(self, GFFieldBound) and self._field.get_option('tip'):
             tip = self._field.get_option('tip')
+        elif hasattr(self, "_displayHandler"):
+            tip = self._displayHandler.get_tip()
         else:
-            tip = self._displayHandler.get_tip()
+            tip = ""
 
         self._form.update_tip(tip)
 





reply via email to

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