[controlbar] disable bug fix
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 5 Apr 2011 08:44:17 +0000 (17:44 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 5 Apr 2011 08:44:17 +0000 (17:44 +0900)
Change-Id: I8d2cb118924f20122fd75804a4d33e0f50c1c054

src/lib/elm_controlbar.c

index 4b53b30..ca30e27 100644 (file)
@@ -384,7 +384,9 @@ _disable_hook(Evas_Object * obj)
           disabled = item->disable;
 
         if (item->style == OBJECT)
-          if (item->base) elm_widget_disabled_set(item->base, disabled);
+          {
+             if (item->base) elm_widget_disabled_set(item->base, disabled);
+          }
         else
           {
              if (disabled)
@@ -2541,7 +2543,9 @@ elm_controlbar_item_disable_set(Elm_Controlbar_Item * it, Eina_Bool disable)
    if (it->wd && it->wd->disabled) return;
 
    if (it->style == OBJECT)
-     if (it->base) elm_widget_disabled_set(it->base, it->disable);
+     {
+        if (it->base) elm_widget_disabled_set(it->base, it->disable);
+     }
    else
      {
         if (it->disable)