[SegmentControl] segmentControl text color and images are not changing on enabling...
authorprince <prince.dubey@samsung.com>
Wed, 28 Sep 2011 11:34:46 +0000 (20:34 +0900)
committerprince <prince.dubey@samsung.com>
Wed, 28 Sep 2011 11:34:46 +0000 (20:34 +0900)
Change-Id: Ie70d16f098253336ee16d09e04138eb30a31a62b

src/lib/elm_segment_control.c

index f5d76ea..ba21fc4 100644 (file)
@@ -386,6 +386,8 @@ _update_list(Widget_Data *wd)
 
         if (elm_widget_disabled_get(wd->obj))
           edje_object_signal_emit(it->base.view, "elm,state,disabled", "elm");
+        else
+          edje_object_signal_emit(it->base.view, "elm,state,enabled", "elm");
 
         _swallow_item_objects(it);
         return;
@@ -429,6 +431,8 @@ _update_list(Widget_Data *wd)
 
         if (elm_widget_disabled_get(wd->obj))
           edje_object_signal_emit(it->base.view, "elm,state,disabled", "elm");
+        else
+          edje_object_signal_emit(it->base.view, "elm,state,enabled", "elm");
 
         _swallow_item_objects(it);
         idx++;