Fixed keystroke for 'view in twitter' feature

This commit is contained in:
Manuel Cortez 2019-02-20 17:21:08 -06:00
parent 092c5312cb
commit cf095ba13b
2 changed files with 2 additions and 1 deletions

View File

@ -812,7 +812,7 @@ class Controller(object):
non_tweet = buffer.get_formatted_message()
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()
if hasattr(buffer, "open_in_browser"):
buffer.open_in_browser()

View File

@ -22,6 +22,7 @@ actions = {
"remove_buffer": _(u"Destroy buffer"),
"interact": _(u"Interact with the currently focused tweet."),
"url": _(u"Open URL"),
"open_in_browser": _(u"View in Twitter"),
"volume_up": _(u"Increase volume by 5%"),
"volume_down": _(u"Decrease volume by 5%"),
"go_home": _(u"Jump to the first element of a buffer"),