Ocarina: g key goes to currently playing song
This commit is contained in:
parent
2b0c7792d0
commit
29a47e84ad
|
@ -2,6 +2,7 @@
|
|||
|
||||
import gtk
|
||||
from page import OcarinaPage
|
||||
from ocarina import shortcuts
|
||||
|
||||
body = gtk.Notebook()
|
||||
body.show()
|
||||
|
@ -44,6 +45,7 @@ def cur_page_filter(text):
|
|||
|
||||
def cur_page_goto():
|
||||
current_page().goto()
|
||||
shortcuts.register_shortcut("g", cur_page_goto)
|
||||
|
||||
def cur_page_clear():
|
||||
current_page().clear()
|
||||
|
|
Loading…
Reference in New Issue