Author: reinhard
Date: 2006-10-17 08:22:47 -0500 (Tue, 17 Oct 2006)
New Revision: 8812

Modified:
   trunk/gnue-forms/src/GFForm.py
Log:
Take tip from entry or from field.


Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py      2006-10-17 13:00:47 UTC (rev 8811)
+++ trunk/gnue-forms/src/GFForm.py      2006-10-17 13:22:47 UTC (rev 8812)
@@ -671,6 +671,9 @@
         if self._currentEntry:
             if self._currentEntry.get_option('tip'):
                 tip = self._currentEntry.get_option('tip')
+            elif hasattr(self._currentEntry, '_field') \
+                    and self._currentEntry._field.get_option('tip'):
+                tip = self._currentEntry._field.get_option('tip')
         self.__update_status(tip=tip)
 
     # -------------------------------------------------------------------------



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

Reply via email to