Fixed in-reply-to links
This commit is contained in:
parent
213b3ce9ac
commit
e605e5333f
1
TODO
1
TODO
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user