mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Clean up interact method.
This commit is contained in:
parent
7b2cf28f68
commit
2fa17ee51f
@ -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")
|
||||||
|
@ -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.
|
||||||
|
@ -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"),
|
||||||
|
Loading…
Reference in New Issue
Block a user