diff options
author | Walter 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) |
commit | d4e6a83b70e896868ab4c7ca8d178a2932abdfa7 (patch) | |
tree | 88735d015b3f6efd99422dcc83e614c42d81b9fb | |
parent | 66c3e3df91d6c87ea0abbc4d77fa313f6baf37b7 (diff) |
remove one layer of vboxes
-rwxr-xr-x | turtleblocks.py | 7 |
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 |