Clean up interact method.

This commit is contained in:
Bill Dengler 2015-05-12 20:50:17 -04:00
parent 7b2cf28f68
commit 2fa17ee51f
3 changed files with 2 additions and 4 deletions

View File

@ -36,7 +36,7 @@ exit = string(default="control+win+f4")
open_timeline = string(default="control+win+i") open_timeline = string(default="control+win+i")
remove_buffer = string(default="control+win+shift+i") remove_buffer = string(default="control+win+shift+i")
interact = string(default="control+win+return") 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_up = string(default="control+win+alt+up")
volume_down = string(default="control+win+alt+down") volume_down = string(default="control+win+alt+down")
go_home = string(default="control+win+home") go_home = string(default="control+win+home")

View File

@ -437,8 +437,6 @@ class baseBufferController(bufferController):
@_tweets_exist @_tweets_exist
def interact(self): def interact(self):
"Select the best action for the currently focused tweet (audio, geocode, URL, etc)." "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() tweet = self.get_tweet()
urls = utils.find_urls(tweet) urls = utils.find_urls(tweet)
#handle audio tweets. #handle audio tweets.

View File

@ -20,7 +20,7 @@ actions = {
"open_timeline": _(u"Open user timeline"), "open_timeline": _(u"Open user timeline"),
"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."),
"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_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"),