From: WooHyun Jung Date: Tue, 16 Apr 2013 12:01:14 +0000 (+0900) Subject: [entry] When entry is disabled, scrolling is also disabled. X-Git-Tag: submit/tizen_2.2/20130714.145026~358 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=770eee7192a3c0b14a26e7745f0588230bdf5879;p=framework%2Fuifw%2Felementary.git [entry] When entry is disabled, scrolling is also disabled. --- diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 317b692..4c2f61c 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -1032,11 +1032,15 @@ _elm_entry_smart_disable(Evas_Object *obj) if (elm_object_disabled_get(obj)) { edje_object_signal_emit(sd->entry_edje, "elm,state,disabled", "elm"); + if (sd->scroll) + sd->s_iface->freeze_set(obj, EINA_TRUE); sd->disabled = EINA_TRUE; } else { edje_object_signal_emit(sd->entry_edje, "elm,state,enabled", "elm"); + if (sd->scroll) + sd->s_iface->freeze_set(obj, EINA_FALSE); sd->disabled = EINA_FALSE; }