From: Rajeev Ranjan Date: Thu, 28 Oct 2010 06:55:57 +0000 (+0530) Subject: [src/lib/elm_button.c] Fixed the issue related to Butoon resizing in memo application. X-Git-Tag: sbs-working-i386~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7313e6faa76ed697a2a7a30cf5a070abd34adfcc;p=framework%2Fuifw%2Felementary.git [src/lib/elm_button.c] Fixed the issue related to Butoon resizing in memo application. --- diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c index 7371a45..ce5f5e4 100644 --- a/src/lib/elm_button.c +++ b/src/lib/elm_button.c @@ -141,10 +141,10 @@ _disable_hook(Evas_Object *obj) { if (wd->statelabel[DEFAULT]) _set_label(obj, wd->statelabel[DEFAULT]); -//#if 0 +#if 0 else _set_label(obj, wd->label); -//#endif +#endif edje_object_signal_emit(wd->btn, "elm,state,enabled", "elm"); } } @@ -207,9 +207,6 @@ _signal_clicked(void *data, Evas_Object *obj, const char *emission, const char * } wd->repeating = EINA_FALSE; evas_object_smart_callback_call(data, SIG_CLICKED, NULL); -#if 0 - _signal_unpressed(data, obj, emission, source); /* safe guard when the theme does not emit the 'unpress' signal */ -#endif } static Eina_Bool @@ -268,10 +265,10 @@ _signal_default_text_set(void *data, Evas_Object *obj, const char *emission, con if (!wd) return; if (wd->statelabel[DEFAULT]) _set_label(data, wd->statelabel[DEFAULT]); -//#if 0 +#if 0 else _set_label(data, wd->label); -//#endif +#endif return; } @@ -282,10 +279,10 @@ _signal_unpressed(void *data, Evas_Object *obj __UNUSED__, const char *emission if (!wd) return; if (wd->statelabel[DEFAULT]) _set_label(data, wd->statelabel[DEFAULT]); -//#if 0 +#if 0 else _set_label(data, wd->label); -//#endif +#endif if (wd->timer) {