From cf095ba13b9a7ecf72d486fa59690bc39a8febac Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Wed, 20 Feb 2019 17:21:08 -0600 Subject: [PATCH] Fixed keystroke for 'view in twitter' feature --- src/controller/mainController.py | 2 +- src/keystrokeEditor/constants.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index d0303bac..95345826 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -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() diff --git a/src/keystrokeEditor/constants.py b/src/keystrokeEditor/constants.py index 1512cf10..7474d2cd 100644 --- a/src/keystrokeEditor/constants.py +++ b/src/keystrokeEditor/constants.py @@ -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"),