entry: Fixed to emit "*enabled" signal to scr_edje when it is not disabled.
authorYoungbok Shin <youngb.shin@samsung.com>
Wed, 22 Jan 2014 02:32:08 +0000 (11:32 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 22 Jan 2014 02:32:08 +0000 (11:32 +0900)
Summary: This fixes coverity issue CID 1162751.

Reviewers: seoz, woohyun, tasn

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D482

legacy/elementary/src/lib/elm_entry.c

index c34a31b..b5a3359 100644 (file)
@@ -529,7 +529,7 @@ _elm_entry_smart_disable(Eo *obj, void *_pd, va_list *list)
         edje_object_signal_emit(sd->entry_edje, "elm,state,enabled", "elm");
         if (sd->scroll)
           {
-             edje_object_signal_emit(sd->scr_edje, "elm,state,disabled", "elm");
+             edje_object_signal_emit(sd->scr_edje, "elm,state,enabled", "elm");
              eo_do(obj, elm_scrollable_interface_freeze_set(EINA_FALSE));
           }
         sd->disabled = EINA_FALSE;