Removed useless code paths, made the follow button work correctly

This commit is contained in:
Anna 2010-05-20 00:22:20 -04:00
parent 46e63c7c3d
commit 56171c6254

View File

@ -485,14 +485,14 @@ class UserBox(gtk.VBox):
self.follow_label = gtk.Label('You are following this user') self.follow_label = gtk.Label('You are following this user')
self.verified_label = gtk.Label('Verified account') self.verified_label = gtk.Label('Verified account')
self.pack_start(self.name_label) self.pack_start(self.name_label, expand=False)
self.pack_start(self.avatar) self.pack_start(self.avatar, expand=False)
self.pack_start(self.follow_label) self.pack_start(self.follow_label, expand=False)
self.pack_start(self.verified_label) self.pack_start(self.verified_label, expand=False)
button_row = gtk.HBox() button_row = gtk.HBox()
button_row.pack_start(self.follow_button) button_row.pack_start(self.follow_button, expand=False)
button_row.pack_start(at_button) button_row.pack_start(at_button, expand=False)
self.pack_start(button_row) self.pack_start(button_row, expand=False)
at_button.connect('clicked', self.on_at_clicked) at_button.connect('clicked', self.on_at_clicked)
self.follow_button.connect('clicked', self.on_follow_clicked) self.follow_button.connect('clicked', self.on_follow_clicked)