From acf68dddbe52ff2000afaf177eca0ef4b5d22b4d Mon Sep 17 00:00:00 2001 From: Anna Date: Wed, 19 May 2010 22:52:02 -0400 Subject: [PATCH] Removed entirely vestigial updated_once code --- TODO | 5 +---- twitterwidgets.py | 9 --------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/TODO b/TODO index 16a2adf..dfe2b11 100644 --- a/TODO +++ b/TODO @@ -10,11 +10,8 @@ features: * Support viewing a list of friends and unfollowing them * Support creating new lists and adding users to it (as well as removing users and deleting lists) -* Refactor TweetPane to support things more logically, so that we can do less bizarre checking for things... -** Have a UserTweetPane, SingleTweetPane, ConversationPane, etc (or maybe just these) - * Changing the active user needs to do more 'work' -** Refresh pages +** Refresh relavant pages bugs: diff --git a/twitterwidgets.py b/twitterwidgets.py index 703e92f..ba3437e 100644 --- a/twitterwidgets.py +++ b/twitterwidgets.py @@ -21,8 +21,6 @@ class TweetPane(gtk.ScrolledWindow): self.data_lock = RLock() - self.updated_once = False - self.list_name = list_name self.single_tweet = single_tweet self.conversation = conversation @@ -92,9 +90,6 @@ class TweetPane(gtk.ScrolledWindow): self.message.hide() - if self.updated_once is False: - self.updated_once = True - # If this is our first load of this list, don't treat anything as new! if self.last_tweet_read is None: try: @@ -165,10 +160,6 @@ class TweetPane(gtk.ScrolledWindow): return self.conversation - def updated_once(self): - return self.updated_once - - def on_tweet_reply(self, widget): self.emit('tweet-reply', {'screen_name': widget.screen_name, 'id': widget.id})