From 8066327ad91bc9701ab61c267a7c5265f0f5befe Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 8 Sep 2011 14:08:31 -0400 Subject: [PATCH] change StatusBar to a VBox of individual status elements --- Window.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Window.py b/Window.py index 6d3d35e..c84f7e7 100644 --- a/Window.py +++ b/Window.py @@ -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)