Fixed bug that presented text from the wrong tweets sometimes

This commit is contained in:
Anna
2010-05-17 22:32:36 -04:00
parent 28053d3961
commit f85189712b
2 changed files with 6 additions and 0 deletions

View File

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