diff --git a/TODO b/TODO index 6445f07..b552800 100644 --- a/TODO +++ b/TODO @@ -15,3 +15,4 @@ bugs: * Direct Messages have no names, only screen names (may not be fixable without considerable tweaks to python-twitter) +* New posts sometimes inherit 'in reply to' text of old posts diff --git a/twitterwidgets.py b/twitterwidgets.py index 9878087..7412001 100644 --- a/twitterwidgets.py +++ b/twitterwidgets.py @@ -313,6 +313,9 @@ class TweetBox(gtk.HBox): def set_status(self, status, read=True): + # To avoid leftover data when reusing + self.clear_status() + # Set avatar try: with AvCache().lock: @@ -361,6 +364,8 @@ class TweetBox(gtk.HBox): self.screen_name = None self.id = None self.set_read(True) + self.reply_to_button.set_label('') + self.avatar.hide() def set_read(self, read=True):