commit-gnue
[Top][All Lists]
Advanced

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

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


From: johannes
Subject: [gnue] r8646 - in trunk/gnue-forms/src: . GFObjects
Date: Thu, 31 Aug 2006 09:51:24 -0500 (CDT)

Author: johannes
Date: 2006-08-31 09:51:24 -0500 (Thu, 31 Aug 2006)
New Revision: 8646

Modified:
   trunk/gnue-forms/src/GFObjects/GFGrid.py
   trunk/gnue-forms/src/GFParser.py
Log:
A grid uses the parent's block if not otherwise specified


Modified: trunk/gnue-forms/src/GFObjects/GFGrid.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFGrid.py    2006-08-31 14:48:16 UTC (rev 
8645)
+++ trunk/gnue-forms/src/GFObjects/GFGrid.py    2006-08-31 14:51:24 UTC (rev 
8646)
@@ -50,6 +50,7 @@
     def _phase_1_init_(self):
         GFContainer._phase_1_init_(self)
 
+        self._block = self.get_block()
         self.__rows = int(getattr(self, "rows", 1))
         self.walk(self.__row_walker)
 

Modified: trunk/gnue-forms/src/GFParser.py
===================================================================
--- trunk/gnue-forms/src/GFParser.py    2006-08-31 14:48:16 UTC (rev 8645)
+++ trunk/gnue-forms/src/GFParser.py    2006-08-31 14:51:24 UTC (rev 8646)
@@ -830,7 +830,7 @@
                'Typecast': GTypecast.name,
                'Description': 'The unique ID of the grid.' },
             'block': {
-               'Required': True,
+               'Required': False,
                'Typecast': GTypecast.name,
                'Description': 'The block for this grid.' },
             'rows': {





reply via email to

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