Removed useless code paths, made the follow button work correctly

This commit is contained in:
Anna
2010-05-20 00:21:21 -04:00
parent 897f2273ce
commit 46e63c7c3d
3 changed files with 6 additions and 12 deletions

View File

@ -337,9 +337,9 @@ class ChangeFriendship(ApiThread):
gtk.gdk.threads_enter()
try:
if self.follow:
self.pane.set_following(success)
self.pane.user_box.set_following(success)
else:
self.pane.set_following(not success)
self.pane.user_box.set_following(not success)
finally:
gtk.gdk.threads_leave()