Fixed bug that presented text from the wrong tweets sometimes
This commit is contained in:
parent
28053d3961
commit
f85189712b
1
TODO
1
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
|
||||
|
|
|
@ -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):
|
||||
|
|
Reference in New Issue
Block a user