Reorder shortcuts

If they are in arranged alphabetically the code is easier to read...
This commit is contained in:
Bryan Schumaker 2010-12-17 08:09:02 -05:00
parent 77130b0251
commit 23e93ee7ae

View File

@ -27,22 +27,22 @@ def key_press(widget, event):
return
if name == "space":
LS.controls.toggle_play()
elif name == "Left":
LS.controls.seek_backward()
elif name == "Right":
LS.controls.seek_forward()
elif name == "d":
ocarina.footer.down_button()
elif name == "f":
filter.grab_focus()
elif name == "g":
body.cur_page_goto()
elif name == "n":
LS.controls.next()
elif name == "s":
LS.controls.stop()
elif name == "u":
ocarina.footer.up_button()
elif name == "d":
ocarina.footer.down_button()
elif name == "g":
body.cur_page_goto()
elif name == "Right":
LS.controls.seek_forward()
elif name == "Left":
LS.controls.seek_backward()
else:
return False
widget.emit_stop_by_name("key-press-event")