ctrl-a is usually select-all, oops
This commit is contained in:
parent
7614d74355
commit
5739b04db6
|
@ -593,8 +593,9 @@ _selection_notify(void *data, int type __UNUSED__, void *_event)
|
|||
*/
|
||||
|
||||
static void
|
||||
_key_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event)
|
||||
_key_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event)
|
||||
{
|
||||
Ecrire_Entry *ent = data;
|
||||
Eina_Bool ctrl, alt, shift;
|
||||
Evas_Event_Key_Down *ev = event;
|
||||
|
||||
|
@ -605,7 +606,7 @@ _key_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
|
|||
return;
|
||||
|
||||
if (!strcmp(ev->key, "a"))
|
||||
_save_as(data, obj, event);
|
||||
elm_entry_select_all(ent->entry);
|
||||
else if (!strcmp(ev->key, "f"))
|
||||
_find(data, obj, event);
|
||||
else if (!strcmp(ev->key, "g"))
|
||||
|
|
Loading…
Reference in New Issue