rage - on stop if there is no browser mode, then quit

there is no point hanging about stopped unless we have a browser, so
quit
v-0.4.0
Carsten Haitzler 7 years ago
parent 803f4e8093
commit bd9af8405b
  1. 1
      src/bin/key.c

@ -115,6 +115,7 @@ key_handle(Evas_Object *win, Evas_Event_Key_Down *ev)
elm_layout_signal_emit(inf->lay, "action,stop", "rage");
elm_layout_signal_emit(inf->lay, "state,default", "rage");
if (inf->browse_mode) browser_show(win);
else evas_object_del(win);
}
else if (!strcmp(ev->keyname, "c"))
{

Loading…
Cancel
Save