From 2fa17ee51ffed53164036120ddd26318b3a7445b Mon Sep 17 00:00:00 2001 From: Bill Dengler Date: Tue, 12 May 2015 20:50:17 -0400 Subject: [PATCH] Clean up interact method. --- src/app-configuration.defaults | 2 +- src/controller/buffersController.py | 2 -- src/keystrokeEditor/constants.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/app-configuration.defaults b/src/app-configuration.defaults index 2fa2c80f..bb6d3abc 100644 --- a/src/app-configuration.defaults +++ b/src/app-configuration.defaults @@ -36,7 +36,7 @@ exit = string(default="control+win+f4") open_timeline = string(default="control+win+i") remove_buffer = string(default="control+win+shift+i") interact = string(default="control+win+return") -audio = string(default="control+win+alt+return") +url = string(default="control+win+alt+return") volume_up = string(default="control+win+alt+up") volume_down = string(default="control+win+alt+down") go_home = string(default="control+win+home") diff --git a/src/controller/buffersController.py b/src/controller/buffersController.py index f36822f0..225588c0 100644 --- a/src/controller/buffersController.py +++ b/src/controller/buffersController.py @@ -437,8 +437,6 @@ class baseBufferController(bufferController): @_tweets_exist def interact(self): "Select the best action for the currently focused tweet (audio, geocode, URL, etc)." - #debugging (remove when issue is closed). - print "Interact method invoked" tweet = self.get_tweet() urls = utils.find_urls(tweet) #handle audio tweets. diff --git a/src/keystrokeEditor/constants.py b/src/keystrokeEditor/constants.py index f4cd893f..5f79d2bf 100644 --- a/src/keystrokeEditor/constants.py +++ b/src/keystrokeEditor/constants.py @@ -20,7 +20,7 @@ actions = { "open_timeline": _(u"Open user timeline"), "remove_buffer": _(u"Destroy buffer"), "interact": _(u"Interact with the currently focused tweet."), -"audio": _(u"Attempt to play audio"), +"url": _(u"Open a URL in the currently focused tweet in your web browser"), "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"),