Implemented Retweet api, and removed the update_window from update_status because twitter's post delay is too long for that to be feasible
This commit is contained in:
parent
a61af65195
commit
140b99d47d
3 changed files with 48 additions and 5 deletions
|
@ -91,7 +91,6 @@ class MyTwitter():
|
|||
self.update_entry.set_text("")
|
||||
self.api.PostUpdate(text, in_reply_to_status_id=self.reply_id)
|
||||
self.reply_id = None
|
||||
self.update_window()
|
||||
|
||||
|
||||
def update_status_callback(self, widget):
|
||||
|
@ -128,9 +127,8 @@ class MyTwitter():
|
|||
self.update_entry.grab_focus()
|
||||
|
||||
|
||||
# fixme: need to implement the retweet API in python-twitter to continue
|
||||
def on_retweet(self, widget):
|
||||
pass
|
||||
self.api.Retweet(widget.id)
|
||||
|
||||
### end class MyTwitter
|
||||
|
||||
|
|
Reference in a new issue