[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8841 - trunk/gnue-forms/src/GFObjects
From: |
johannes |
Subject: |
[gnue] r8841 - trunk/gnue-forms/src/GFObjects |
Date: |
Wed, 18 Oct 2006 04:11:50 -0500 (CDT) |
Author: johannes
Date: 2006-10-18 04:11:49 -0500 (Wed, 18 Oct 2006)
New Revision: 8841
Modified:
trunk/gnue-forms/src/GFObjects/GFGrid.py
trunk/gnue-forms/src/GFObjects/GFTabStop.py
Log:
Fixed buttons as part of a grid
Modified: trunk/gnue-forms/src/GFObjects/GFGrid.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFGrid.py 2006-10-18 08:46:43 UTC (rev
8840)
+++ trunk/gnue-forms/src/GFObjects/GFGrid.py 2006-10-18 09:11:49 UTC (rev
8841)
@@ -25,6 +25,7 @@
"""
from gnue.forms.GFObjects.GFTabStop import GFTabStop
+from gnue.forms.GFObjects.GFGridLine import GFGridLine
from gnue.forms.GFObjects.GFContainer import GFContainer
__all__ = ['GFGrid']
@@ -86,7 +87,7 @@
# -------------------------------------------------------------------------
def __rows_walker(self, item):
- if item is not self:
+ if (item is not self) and isinstance(item, (GFTabStop, GFGridLine)):
item.rows_changed(self.__rows)
Modified: trunk/gnue-forms/src/GFObjects/GFTabStop.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFTabStop.py 2006-10-18 08:46:43 UTC (rev
8840)
+++ trunk/gnue-forms/src/GFObjects/GFTabStop.py 2006-10-18 09:11:49 UTC (rev
8841)
@@ -129,7 +129,7 @@
old_rows = self._rows
self._rows = new_rows
- if new_rows > old_rows:
+ if isinstance(self, GFFieldBound) and new_rows > old_rows:
self.refresh_ui(old_rows, new_rows - 1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8841 - trunk/gnue-forms/src/GFObjects,
johannes <=