commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r10244 - in trunk/gnue-forms: . src/GFObjects


From: reinhard
Subject: [gnue] r10244 - in trunk/gnue-forms: . src/GFObjects
Date: Mon, 22 Nov 2010 02:42:53 -0600 (CST)

Author: reinhard
Date: 2010-11-22 02:42:53 -0600 (Mon, 22 Nov 2010)
New Revision: 10244

Modified:
   trunk/gnue-forms/
   trunk/gnue-forms/src/GFObjects/GFEntry.py
Log:
Properly change enabled/disabled status of a "label" style entry whenever its
value changes from or to None.



Property changes on: trunk/gnue-forms
___________________________________________________________________
Name: bzr:revision-info
   - timestamp: 2010-11-22 08:46:37.466000080 +0100
committer: Reinhard Müller <address@hidden>
properties: 
        branch-nick: forms

   + timestamp: 2010-11-22 09:33:36.551000118 +0100
committer: Reinhard Müller <address@hidden>
properties: 
        branch-nick: forms

Name: bzr:file-ids
   - src/GFForm.py      address@hidden:trunk%2Fgnue-forms:src%2FGFForm.py

   + src/GFObjects/GFEntry.py   
address@hidden:trunk%2Fgnue-forms:src%2FGFObjects%2FGFEntry.py

Name: bzr:revision-id:v4
   - 3116 address@hidden
3117 address@hidden
3118 address@hidden
3119 address@hidden
3120 address@hidden
3121 address@hidden
3122 address@hidden
3123 address@hidden
3124 address@hidden
3125 address@hidden
3126 address@hidden
3127 address@hidden
3128 address@hidden
3129 address@hidden
3130 address@hidden
3131 address@hidden
3132 address@hidden
3133 address@hidden
3134 address@hidden
3135 address@hidden
3136 address@hidden
3137 address@hidden
3138 address@hidden
3139 address@hidden
3140 address@hidden
3141 address@hidden
3142 address@hidden
3143 address@hidden
3144 address@hidden
3145 address@hidden
3146 address@hidden
3147 address@hidden
3148 address@hidden
3149 address@hidden
3150 address@hidden
3151 address@hidden
3152 address@hidden
3153 address@hidden
3154 address@hidden
3155 address@hidden

   + 3116 address@hidden
3117 address@hidden
3118 address@hidden
3119 address@hidden
3120 address@hidden
3121 address@hidden
3122 address@hidden
3123 address@hidden
3124 address@hidden
3125 address@hidden
3126 address@hidden
3127 address@hidden
3128 address@hidden
3129 address@hidden
3130 address@hidden
3131 address@hidden
3132 address@hidden
3133 address@hidden
3134 address@hidden
3135 address@hidden
3136 address@hidden
3137 address@hidden
3138 address@hidden
3139 address@hidden
3140 address@hidden
3141 address@hidden
3142 address@hidden
3143 address@hidden
3144 address@hidden
3145 address@hidden
3146 address@hidden
3147 address@hidden
3148 address@hidden
3149 address@hidden
3150 address@hidden
3151 address@hidden
3152 address@hidden
3153 address@hidden
3154 address@hidden
3155 address@hidden
3156 address@hidden

Name: bzr:text-parents
   - src/GFForm.py      address@hidden

   + src/GFObjects/GFEntry.py   address@hidden


Modified: trunk/gnue-forms/src/GFObjects/GFEntry.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFEntry.py   2010-11-22 07:47:12 UTC (rev 
10243)
+++ trunk/gnue-forms/src/GFObjects/GFEntry.py   2010-11-22 08:42:53 UTC (rev 
10244)
@@ -131,6 +131,19 @@
 
 
     # -------------------------------------------------------------------------
+    # Refresh the user interface with the current field data
+    # -------------------------------------------------------------------------
+
+    def refresh_ui(self, from_index, to_index):
+
+        GFFieldBound.refresh_ui(self, from_index, to_index)
+
+        # enabled/disabled status can change for label style entries.
+        if self.style == 'label':
+            self.update_status()
+
+
+    # -------------------------------------------------------------------------
     # Indicate whether this widget makes use of the separate label column
     # -------------------------------------------------------------------------
 




reply via email to

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