From 9eb0e491d5b671b66660ec5989826181ed01c20e Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 22 May 2010 21:01:28 -0400 Subject: [PATCH] Renamed a widget to make more sense --- twitterwidgets.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/twitterwidgets.py b/twitterwidgets.py index 42c7370..28dd689 100644 --- a/twitterwidgets.py +++ b/twitterwidgets.py @@ -278,16 +278,16 @@ class TweetBox(gtk.HBox): self.app_button = gtk.Button() via_label = gtk.Label(' via ') self.header = gtk.Button() - header_box = gtk.HBox() - header_box.pack_start(self.user_button, expand=False) - header_box.pack_start(self.time_label, expand=False) - header_box.pack_start(via_label, expand=False) - header_box.pack_start(self.app_button, expand=False) - text_box.pack_start(header_box) + label_box = gtk.HBox() + label_box.pack_start(self.user_button, expand=False) + label_box.pack_start(self.time_label, expand=False) + label_box.pack_start(via_label, expand=False) + label_box.pack_start(self.app_button, expand=False) + text_box.pack_start(label_box) # Set the header's properties - header_box.modify_text(gtk.STATE_NORMAL,gtk.gdk.color_parse("#ffffff")) - header_box.modify_bg(gtk.STATE_NORMAL,gtk.gdk.color_parse("#8888ff")) + label_box.modify_text(gtk.STATE_NORMAL,gtk.gdk.color_parse("#ffffff")) + label_box.modify_bg(gtk.STATE_NORMAL,gtk.gdk.color_parse("#8888ff")) self.user_button.set_relief(gtk.RELIEF_NONE) self.user_button.set_alignment(0.0, 0.0)