From d4e6a83b70e896868ab4c7ca8d178a2932abdfa7 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 04 Dec 2012 22:01:45 +0000 Subject: remove one layer of vboxes --- (limited to 'turtleblocks.py') 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 -- cgit v0.9.1