forked from enlightenment/rage
rage - expand stop action to also use backspace and del keys
This commit is contained in:
parent
e76c1c3cf1
commit
c72e038237
|
@ -107,7 +107,9 @@ key_handle(Evas_Object *win, Evas_Event_Key_Down *ev)
|
|||
win_do_play_pause(win);
|
||||
}
|
||||
else if ((!strcmp(ev->keyname, "s")) ||
|
||||
(!strcmp(ev->key, "XF86AudioStop")))
|
||||
(!strcmp(ev->key, "XF86AudioStop")) ||
|
||||
(!strcmp(ev->key, "BackSpace")) ||
|
||||
(!strcmp(ev->key, "Delete")))
|
||||
{
|
||||
video_stop(inf->vid);
|
||||
elm_layout_signal_emit(inf->lay, "action,stop", "rage");
|
||||
|
@ -115,7 +117,6 @@ key_handle(Evas_Object *win, Evas_Event_Key_Down *ev)
|
|||
}
|
||||
else if (!strcmp(ev->keyname, "c"))
|
||||
{
|
||||
printf("(c)lear!\n");
|
||||
video_stop(inf->vid);
|
||||
elm_layout_signal_emit(inf->lay, "action,stop", "rage");
|
||||
win_video_free(win);
|
||||
|
|
Loading…
Reference in New Issue