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:
Anna 2010-04-09 18:18:34 -04:00
parent a61af65195
commit 140b99d47d
3 changed files with 48 additions and 5 deletions

View file

@ -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