forked from enlightenment/enlightenment
e: remove Space keybinding from e_dialog.
It was preventing typing space inside a text entry for connman. So if you passphrase included a space you were screewed ! SVN revision: 61451
This commit is contained in:
parent
9a0714a1ac
commit
2593a6885f
|
@ -73,9 +73,6 @@ _e_dialog_internal_new(E_Container *con, const char *name, const char *class, in
|
||||||
if (!kg)
|
if (!kg)
|
||||||
fprintf(stderr,"ERROR: unable to redirect \"KP_Enter\" key events to object %p.\n", o);
|
fprintf(stderr,"ERROR: unable to redirect \"KP_Enter\" key events to object %p.\n", o);
|
||||||
mask = 0;
|
mask = 0;
|
||||||
kg = evas_object_key_grab(o, "space", mask, ~mask, 0);
|
|
||||||
if (!kg)
|
|
||||||
fprintf(stderr,"ERROR: unable to redirect \"space\" key events to object %p.\n", o);
|
|
||||||
|
|
||||||
evas_object_event_callback_add(o, EVAS_CALLBACK_KEY_DOWN, _e_dialog_cb_key_down, dia);
|
evas_object_event_callback_add(o, EVAS_CALLBACK_KEY_DOWN, _e_dialog_cb_key_down, dia);
|
||||||
|
|
||||||
|
@ -332,8 +329,7 @@ _e_dialog_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED_
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (((!strcmp(ev->keyname, "Return")) ||
|
else if (((!strcmp(ev->keyname, "Return")) ||
|
||||||
(!strcmp(ev->keyname, "KP_Enter")) ||
|
(!strcmp(ev->keyname, "KP_Enter"))))
|
||||||
(!strcmp(ev->keyname, "space"))))
|
|
||||||
{
|
{
|
||||||
Evas_Object *o = NULL;
|
Evas_Object *o = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue