Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/turtleblocks.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-12-04 22:01:45 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-12-04 22:01:45 (GMT)
commitd4e6a83b70e896868ab4c7ca8d178a2932abdfa7 (patch)
tree88735d015b3f6efd99422dcc83e614c42d81b9fb /turtleblocks.py
parent66c3e3df91d6c87ea0abbc4d77fa313f6baf37b7 (diff)
remove one layer of vboxes
Diffstat (limited to 'turtleblocks.py')
-rwxr-xr-xturtleblocks.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/turtleblocks.py b/turtleblocks.py
index e82021d..938625c 100755
--- a/turtleblocks.py
+++ b/turtleblocks.py
@@ -312,8 +312,8 @@ class TurtleMain():
''' Create a scrolled window to contain the turtle canvas. We
add a Fixed container in order to position text Entry widgets
on top of string and number blocks.'''
- vbox = gtk.VBox(False, 0)
- win.add(vbox)
+ # vbox = gtk.VBox(False, 0)
+ # win.add(vbox)
self.fixed = gtk.Fixed()
self.fixed.connect('size-allocate', self._fixed_resize_cb)
@@ -342,7 +342,8 @@ class TurtleMain():
self.fixed.put(self.vbox, 0, 0)
self.fixed.show()
- vbox.pack_start(self.fixed, False, False, 0)
+ # vbox.pack_start(self.fixed, False, False, 0)
+ win.add(self.fixed)
win.show_all()
self.win = win
self.canvas = canvas