From: Rajeev Ranjan Date: Thu, 7 Oct 2010 10:43:05 +0000 (+0900) Subject: [src/lib/elm_button.c] Moving the signal emitting code before processing the edje... X-Git-Tag: origin~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a846a0e3318c3fd8a9028579dec5d90a222d49f;p=framework%2Fuifw%2Felementary.git [src/lib/elm_button.c] Moving the signal emitting code before processing the edje message queue. --- diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c index ca86492..d1a79e3 100644 --- a/src/lib/elm_button.c +++ b/src/lib/elm_button.c @@ -117,10 +117,10 @@ _theme_hook(Evas_Object *obj) edje_object_signal_emit(wd->btn, "elm,state,icon,hidden", "elm"); edje_object_part_text_set(wd->btn, "elm.text", wd->label); - edje_object_message_signal_process(wd->btn); - edje_object_scale_set(wd->btn, elm_widget_scale_get(obj) * _elm_config->scale); if (elm_widget_disabled_get(obj)) edje_object_signal_emit(wd->btn, "elm,state,disabled", "elm"); + edje_object_message_signal_process(wd->btn); + edje_object_scale_set(wd->btn, elm_widget_scale_get(obj) * _elm_config->scale); _sizing_eval(obj); }