[ctxpopup] remmove smart callback signal - hide
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 7 Apr 2011 08:00:23 +0000 (17:00 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 7 Apr 2011 08:00:23 +0000 (17:00 +0900)
Change-Id: I338bd598c516d25fc8810c38f5bdeb67d4beb647

src/lib/elc_ctxpopup.c
src/lib/elm_controlbar.c

index 565e4d0..969b170 100644 (file)
@@ -115,11 +115,9 @@ static void _item_label_set(Elm_Ctxpopup_Item *item, const char *label);
 static void _remove_items(Widget_Data * wd);
 
 static const char SIG_DISMISSED[] = "dismissed";
-static const char SIG_HIDE[] = "hide";
 
 static const Evas_Smart_Cb_Description _signals[] = {
        {SIG_DISMISSED, ""},
-       {SIG_HIDE, ""},       //TOOD: Remove!!
        {NULL, NULL}
 };
 
@@ -777,7 +775,6 @@ _hide(Evas_Object *obj)
    _scroller_size_reset(wd);
 
    evas_object_smart_callback_call(obj, SIG_DISMISSED, NULL);
-   evas_object_smart_callback_call(obj, SIG_HIDE, NULL);    //TODO: Remove!   
    wd->visible = EINA_FALSE;
 }
 
index ca30e27..92ab3f1 100644 (file)
@@ -1372,7 +1372,7 @@ static void _ctxpopup_cb(void *data, Evas_Object *obj, void *event_info)
    ctxpopup = NULL;
 }
 
-static void _ctxpopup_hide_cb(void *data, Evas_Object *obj, void *event_info)
+static void _ctxpopup_dismissed_cb(void *data, Evas_Object *obj, void *event_info)
 {
    Evas_Object *ctxpopup = obj;
 
@@ -1392,7 +1392,7 @@ create_more_func(void *data, Evas_Object *obj, void *event_info)
    if(!wd) return;
 
    ctxpopup = elm_ctxpopup_add(wd->parent);
-   evas_object_smart_callback_add( ctxpopup, "hide", _ctxpopup_hide_cb, wd);
+   evas_object_smart_callback_add( ctxpopup, "dismissed", _ctxpopup_dismissed_cb, wd);
 
    EINA_LIST_FOREACH(wd->items, l, item)
      {