From: Hyoyoung Chang Date: Wed, 13 Oct 2010 13:45:26 +0000 (+0900) Subject: [searchbar] fixing cancel_button_set X-Git-Tag: origin~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c4ead6b9c0ba980201253196a69ca429cad851c;p=framework%2Fuifw%2Felementary.git [searchbar] fixing cancel_button_set --- diff --git a/src/lib/elm_searchbar.c b/src/lib/elm_searchbar.c index bbdb94a..3c22a58 100644 --- a/src/lib/elm_searchbar.c +++ b/src/lib/elm_searchbar.c @@ -278,13 +278,12 @@ EAPI void elm_searchbar_cancel_button_set(Evas_Object *obj, Eina_Bool visible) if (!visible) { - if (wd->cancel_btn_show_mode && wd->cancel_btn_ani_flag) + if (wd->cancel_btn_ani_flag) edje_object_signal_emit(wd->base, "CANCELOUT", "PROG"); else edje_object_signal_emit(wd->base, "CANCELHIDE", "PROG"); - - _sizing_eval(obj); } + _sizing_eval(obj); } /** @@ -331,7 +330,6 @@ EAPI void elm_searchbar_boundary_rect_set(Evas_Object *obj, Eina_Bool boundary) if (wd->boundary_mode) { _elm_theme_object_set(obj, wd->base, "searchbar", "base", "default_with_bd"); - } else {