projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d5a1a3
)
spinner: Toggle entry on Enter and space key.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Tue, 21 Jan 2014 12:59:41 +0000
(21:59 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Tue, 21 Jan 2014 12:59:41 +0000
(21:59 +0900)
src/lib/elm_spinner.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_spinner.c
b/src/lib/elm_spinner.c
index
be5121e
..
99311a7
100644
(file)
--- a/
src/lib/elm_spinner.c
+++ b/
src/lib/elm_spinner.c
@@
-478,6
+478,12
@@
_elm_spinner_smart_event(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
goto success;
}
+ else if ((!strcmp(ev->key, "Return")) ||
+ (!strcmp(ev->key, "KP_Enter")) ||
+ (!strcmp(ev->key, "space")))
+ {
+ _entry_toggle_cb(obj, NULL, NULL, NULL);
+ }
}
else if (type == EVAS_CALLBACK_KEY_UP)
{