Removed entirely vestigial updated_once code
This commit is contained in:
parent
340c261e2d
commit
acf68dddbe
5
TODO
5
TODO
|
@ -10,11 +10,8 @@ features:
|
||||||
* Support viewing a list of friends and unfollowing them
|
* 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)
|
* 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'
|
* Changing the active user needs to do more 'work'
|
||||||
** Refresh pages
|
** Refresh relavant pages
|
||||||
|
|
||||||
|
|
||||||
bugs:
|
bugs:
|
||||||
|
|
|
@ -21,8 +21,6 @@ class TweetPane(gtk.ScrolledWindow):
|
||||||
|
|
||||||
self.data_lock = RLock()
|
self.data_lock = RLock()
|
||||||
|
|
||||||
self.updated_once = False
|
|
||||||
|
|
||||||
self.list_name = list_name
|
self.list_name = list_name
|
||||||
self.single_tweet = single_tweet
|
self.single_tweet = single_tweet
|
||||||
self.conversation = conversation
|
self.conversation = conversation
|
||||||
|
@ -92,9 +90,6 @@ class TweetPane(gtk.ScrolledWindow):
|
||||||
|
|
||||||
self.message.hide()
|
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 this is our first load of this list, don't treat anything as new!
|
||||||
if self.last_tweet_read is None:
|
if self.last_tweet_read is None:
|
||||||
try:
|
try:
|
||||||
|
@ -165,10 +160,6 @@ class TweetPane(gtk.ScrolledWindow):
|
||||||
return self.conversation
|
return self.conversation
|
||||||
|
|
||||||
|
|
||||||
def updated_once(self):
|
|
||||||
return self.updated_once
|
|
||||||
|
|
||||||
|
|
||||||
def on_tweet_reply(self, widget):
|
def on_tweet_reply(self, widget):
|
||||||
self.emit('tweet-reply', {'screen_name': widget.screen_name, 'id': widget.id})
|
self.emit('tweet-reply', {'screen_name': widget.screen_name, 'id': widget.id})
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user