From: Shinwoo Kim Date: Thu, 7 Apr 2011 08:00:23 +0000 (+0900) Subject: [ctxpopup] remmove smart callback signal - hide X-Git-Tag: REL_I9200_20110603-1~204^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=830243781911bfb5f518d7ae323bff1b25d1f755;p=framework%2Fuifw%2Felementary.git [ctxpopup] remmove smart callback signal - hide Change-Id: I338bd598c516d25fc8810c38f5bdeb67d4beb647 --- diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index 565e4d0..969b170 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -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; } diff --git a/src/lib/elm_controlbar.c b/src/lib/elm_controlbar.c index ca30e27..92ab3f1 100644 --- a/src/lib/elm_controlbar.c +++ b/src/lib/elm_controlbar.c @@ -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) {