From 56171c62543a4e0bbc8ac0c2765bd22038ad074a Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 20 May 2010 00:22:20 -0400 Subject: [PATCH] Removed useless code paths, made the follow button work correctly --- twitterwidgets.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/twitterwidgets.py b/twitterwidgets.py index ce6ea3f..f757908 100644 --- a/twitterwidgets.py +++ b/twitterwidgets.py @@ -485,14 +485,14 @@ class UserBox(gtk.VBox): self.follow_label = gtk.Label('You are following this user') self.verified_label = gtk.Label('Verified account') - self.pack_start(self.name_label) - self.pack_start(self.avatar) - self.pack_start(self.follow_label) - self.pack_start(self.verified_label) + self.pack_start(self.name_label, expand=False) + self.pack_start(self.avatar, expand=False) + self.pack_start(self.follow_label, expand=False) + self.pack_start(self.verified_label, expand=False) button_row = gtk.HBox() - button_row.pack_start(self.follow_button) - button_row.pack_start(at_button) - self.pack_start(button_row) + button_row.pack_start(self.follow_button, expand=False) + button_row.pack_start(at_button, expand=False) + self.pack_start(button_row, expand=False) at_button.connect('clicked', self.on_at_clicked) self.follow_button.connect('clicked', self.on_follow_clicked)