woohyun pushed a commit to branch master.
commit 3474eb1506381c4856e70a5aa4f823db020e7f4b
Author: WooHyun Jung <[email protected]>
Date: Tue Aug 6 18:13:10 2013 +0900
elementary/elm_spinner.c : Whenever spinner is unfocused, timers related
with value change should be deleted.
---
src/lib/elm_spinner.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
index c274404..703aae4 100644
--- a/src/lib/elm_spinner.c
+++ b/src/lib/elm_spinner.c
@@ -496,12 +496,25 @@ _elm_spinner_smart_on_focus(Eo *obj, void *_pd
EINA_UNUSED, va_list *list)
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
Eina_Bool int_ret;
+ Elm_Spinner_Smart_Data *sd = _pd;
eo_do_super(obj, MY_CLASS, elm_wdg_on_focus(&int_ret));
if (!int_ret) return;
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);
+ }
if (ret) *ret = EINA_TRUE;
}
--
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk