mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Fixed keystroke for 'view in twitter' feature
This commit is contained in:
parent
092c5312cb
commit
cf095ba13b
@ -812,7 +812,7 @@ class Controller(object):
|
|||||||
non_tweet = buffer.get_formatted_message()
|
non_tweet = buffer.get_formatted_message()
|
||||||
msg = messages.viewTweet(non_tweet, [], False)
|
msg = messages.viewTweet(non_tweet, [], False)
|
||||||
|
|
||||||
def view_in_browser(self, *args, **kwargs):
|
def open_in_browser(self, *args, **kwargs):
|
||||||
buffer = self.get_current_buffer()
|
buffer = self.get_current_buffer()
|
||||||
if hasattr(buffer, "open_in_browser"):
|
if hasattr(buffer, "open_in_browser"):
|
||||||
buffer.open_in_browser()
|
buffer.open_in_browser()
|
||||||
|
@ -22,6 +22,7 @@ actions = {
|
|||||||
"remove_buffer": _(u"Destroy buffer"),
|
"remove_buffer": _(u"Destroy buffer"),
|
||||||
"interact": _(u"Interact with the currently focused tweet."),
|
"interact": _(u"Interact with the currently focused tweet."),
|
||||||
"url": _(u"Open URL"),
|
"url": _(u"Open URL"),
|
||||||
|
"open_in_browser": _(u"View in Twitter"),
|
||||||
"volume_up": _(u"Increase volume by 5%"),
|
"volume_up": _(u"Increase volume by 5%"),
|
||||||
"volume_down": _(u"Decrease volume by 5%"),
|
"volume_down": _(u"Decrease volume by 5%"),
|
||||||
"go_home": _(u"Jump to the first element of a buffer"),
|
"go_home": _(u"Jump to the first element of a buffer"),
|
||||||
|
Loading…
Reference in New Issue
Block a user