seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=153e7e00b45d606dfe95d23fa00d576dd2f980bb

commit 153e7e00b45d606dfe95d23fa00d576dd2f980bb
Author: Jaehwan Kim <jae.hwan....@samsung.com>
Date:   Fri Nov 8 21:46:58 2013 +0900

    elm_check.c: Do not execute smart_activate when the widget is disabled.
---
 src/lib/elm_check.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_check.c b/src/lib/elm_check.c
index 7d84dc3..e7595e8 100644
--- a/src/lib/elm_check.c
+++ b/src/lib/elm_check.c
@@ -101,6 +101,7 @@ _elm_check_smart_activate(Eo *obj EINA_UNUSED, void *_pd 
EINA_UNUSED, va_list *l
    Eina_Bool *ret = va_arg(*list, Eina_Bool *);
    if (ret) *ret = EINA_FALSE;
 
+   if (elm_widget_disabled_get(obj)) return;
    if (act != ELM_ACTIVATE_DEFAULT) return;
 
    _activate(obj);

-- 


Reply via email to