change view change before callback timing
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 17 Dec 2010 05:59:21 +0000 (14:59 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 17 Dec 2010 05:59:21 +0000 (14:59 +0900)
src/lib/elm_controlbar.c

index 138d062..6562471 100644 (file)
@@ -1151,13 +1151,10 @@ selected_box(Elm_Controlbar_Item * it)
         }
         it->selected = EINA_TRUE;
 
-        if(wd->more_item != it)
-           evas_object_smart_callback_call(it->obj, "view,change,before", it);
-
         if(fit != NULL && fit != it)
           {
-//             if(wd->more_item != it)
-//                evas_object_smart_callback_call(it->obj, "view,change,before", it);
+             if(wd->more_item != it)
+                evas_object_smart_callback_call(it->obj, "view,change,before", it);
 
              move_selected_box(wd, fit, it);
           }