Removed useless code paths, made the follow button work correctly
This commit is contained in:
parent
897f2273ce
commit
46e63c7c3d
3 changed files with 6 additions and 12 deletions
|
@ -436,9 +436,8 @@ class MyTwitter():
|
|||
def on_follow_button_clicked(self, widget, follow):
|
||||
user_name = re.sub('^user: ', '', widget.get_list_name())
|
||||
|
||||
thread = apithreads.ChangeFriendship(self.api, current_pane, user_name, follow)
|
||||
thread = apithreads.ChangeFriendship(self.api, widget, user_name, follow)
|
||||
thread.sig_proxy.connect('friendship-changed', self.on_friendship_changed)
|
||||
thread.sig_proxy.connect('friendship-changed', widget.user_box.on_friendship_changed)
|
||||
thread.start()
|
||||
|
||||
|
||||
|
|
Reference in a new issue