Simplified the @ and Follow buttons - since there is only 1 UserBox per pane, the Hrafn object can connect to the signals directly
This commit is contained in:
parent
9af8d9a496
commit
2e81031ec2
2 changed files with 2 additions and 18 deletions
4
hrafn.py
4
hrafn.py
|
@ -355,8 +355,8 @@ class Hrafn():
|
|||
|
||||
self.lists_cond.release()
|
||||
|
||||
new_pane.connect('at-clicked', self.on_at_button_clicked)
|
||||
new_pane.connect('follow-clicked', self.on_follow_button_clicked)
|
||||
new_pane.user_box.connect('at-clicked', self.on_at_button_clicked)
|
||||
new_pane.user_box.connect('follow-clicked', self.on_follow_button_clicked)
|
||||
apithreads.GetFollowing(api=self.api, pane=new_pane, user=name).start()
|
||||
apithreads.GetUserInfo(api=self.api, pane=new_pane, user=name).start()
|
||||
|
||||
|
|
Reference in a new issue