Fixed in-reply-to links

This commit is contained in:
Anna 2010-04-16 11:29:56 -04:00
parent 213b3ce9ac
commit e605e5333f
2 changed files with 8 additions and 2 deletions

1
TODO
View File

@ -1,7 +1,6 @@
This is a list of things that still need doing. It includes short-, medium-, and long-term goals. This is a list of things that still need doing. It includes short-, medium-, and long-term goals.
* Support multiple accounts * Support multiple accounts
* Fix in-reply-to links, and the fact that they prevent a search that matches the pane title
* Make all the buttons prettier * Make all the buttons prettier
* Add a graphical options menu * Add a graphical options menu
* Support some kind of 'conversation' view for in-reply-to chains, instead of the standard single-tweet * Support some kind of 'conversation' view for in-reply-to chains, instead of the standard single-tweet

View File

@ -179,7 +179,14 @@ class MyTwitter():
# If it already exists, don't add it, just switch to it # If it already exists, don't add it, just switch to it
for i in range(self.tweet_notebook.get_n_pages()): for i in range(self.tweet_notebook.get_n_pages()):
pane = self.tweet_notebook.get_nth_page(i) pane = self.tweet_notebook.get_nth_page(i)
if pane.get_list_name() == name: # Unless it is a single tweet... ignore those unless
# we are also a single tweet... then, special logic
if pane.get_single_tweet() is not None:
if pane.get_single_tweet() == single_tweet:
self.tweet_notebook.set_current_page(i)
return
elif pane.get_list_name() == name:
self.tweet_notebook.set_current_page(i) self.tweet_notebook.set_current_page(i)
return return