change StatusBar to a VBox of individual status elements

This commit is contained in:
Josh Holtrop 2011-09-08 14:08:31 -04:00
parent 4a76120fce
commit 8066327ad9

View File

@ -44,7 +44,14 @@ class Window:
ttb.connect('toggled', self.mode_toggle_event)
self.toolbar.insert(ttb, -1)
self.statusbar = gtk.Statusbar()
self.status_lbl = gtk.Label()
self.status_lbl.set_alignment(0.0, 0.5)
self.sketch_status_icon = gtk.Label()
self.sketch_status_text = gtk.Label()
self.statusbar = gtk.HBox()
self.statusbar.pack_start(self.status_lbl, expand = True)
self.statusbar.pack_start(self.sketch_status_icon, expand = False)
self.statusbar.pack_start(self.sketch_status_text, expand = False)
vbox = gtk.VBox()
vbox.pack_start(self.toolbar, expand = False)