projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b14ec8
)
[spinner] Whenever spinner is unfocused, timers related with value change should...
author
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 6 Aug 2013 11:03:16 +0000
(20:03 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Tue, 6 Aug 2013 13:13:51 +0000
(22:13 +0900)
src/lib/elm_spinner.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_spinner.c
b/src/lib/elm_spinner.c
index
3d0afd8
..
71d3527
100644
(file)
--- a/
src/lib/elm_spinner.c
+++ b/
src/lib/elm_spinner.c
@@
-490,11
+490,24
@@
_elm_spinner_smart_event(Evas_Object *obj,
static Eina_Bool
_elm_spinner_smart_on_focus(Evas_Object *obj)
{
+ ELM_SPINNER_DATA_GET(obj, sd);
if (!ELM_WIDGET_CLASS(_elm_spinner_parent_sc)->on_focus(obj))
return EINA_FALSE;
if (!elm_widget_focus_get(obj))
- _entry_value_apply(obj);
+ {
+ if (sd->delay)
+ {
+ ecore_timer_del(sd->delay);
+ sd->delay = NULL;
+ }
+ if (sd->spin)
+ {
+ ecore_timer_del(sd->spin);
+ sd->spin = NULL;
+ }
+ _entry_value_apply(obj);
+ }
return EINA_TRUE;
}