Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Update of /cvsroot/ocemp/ocempgui/ocempgui/widgets
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13742/ocempgui/widgets
Fixed Table.set_children() assignment.
RCS file: /cvsroot/ocemp/ocempgui/ocempgui/widgets/Table.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- Table.py 27 Jan 2007 22:57:56 -0000 1.32
+++ Table.py 29 Jan 2007 10:43:27 -0000 1.33
@@ -162,7 +162,11 @@
if children != None:
if len (children) > (self.columns * self.rows):
raise ValueError ("children exceed the Table size.")
+ # Remove all children first.
+ for i in xrange (self._rows):
+ for j in xrange (self._cols):
+ self.grid[(i, j)] = None
Container.set_children (self, children)
if children == None:
Sign up for the SourceForge newsletter: