From: Jiyoun Park Date: Wed, 6 Mar 2013 06:36:36 +0000 (+0900) Subject: elm_conform.c : Fix elm_conform didn't change indicator mode when create. X-Git-Tag: upstream/1.20.0~7116^2~14^2~4990 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f7092477b93c6e6264a0d9004e93469ee17dda7;p=platform%2Fupstream%2Fefl.git elm_conform.c : Fix elm_conform didn't change indicator mode when create. currently mode change func only check one of mode between indmod or indi opacity mode. --- diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog index e33eac5..1642b225 100644 --- a/legacy/elementary/ChangeLog +++ b/legacy/elementary/ChangeLog @@ -1105,3 +1105,8 @@ * Add edje_object_message_signal_process before edje_object_size_min_restricted_calc. If the min size is changed by edje signal in edc, the the function should be called before the calculation. + +2013-03-05 Jiyoun Park + + * Fix elm_conform didn't change indicator mode when create. + diff --git a/legacy/elementary/NEWS b/legacy/elementary/NEWS index 01ecdb9..3637528 100644 --- a/legacy/elementary/NEWS +++ b/legacy/elementary/NEWS @@ -170,6 +170,7 @@ Fixes: * Fix elm_index to send a signal to the selected item in smart theme. * Focus highlight should not be shown on (0 ,0). * Fix elm_conform didn't set size hint when keypad on. + * Fix elm_conform didn't change indicator mode when create. Removals: diff --git a/legacy/elementary/src/lib/elm_conform.c b/legacy/elementary/src/lib/elm_conform.c index e2eeb3a..439b2c6 100644 --- a/legacy/elementary/src/lib/elm_conform.c +++ b/legacy/elementary/src/lib/elm_conform.c @@ -538,14 +538,10 @@ _on_indicator_mode_changed(void *data, indmode = elm_win_indicator_mode_get(win); ind_o_mode = elm_win_indicator_opacity_get(win); - if (indmode == sd->indmode) - { - if (ind_o_mode == sd->ind_o_mode) return; - else _indicator_opacity_set(conformant, ind_o_mode); - } - else + if (indmode != sd->indmode) _indicator_mode_set(conformant, indmode); - + if (ind_o_mode != sd->ind_o_mode) + _indicator_opacity_set(conformant, ind_o_mode); } static void @@ -787,8 +783,7 @@ _virtualkeypad_state_change(Evas_Object *obj, Ecore_X_Event_Window_Property *ev) if (state == ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF) { DBG("[KEYPAD]:ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF"); - evas_object_size_hint_min_set(sd->virtualkeypad, -1, 0); - evas_object_size_hint_max_set(sd->virtualkeypad, -1, 0); + _conformant_part_sizing_eval(obj, ELM_CONFORMANT_VIRTUAL_KEYPAD_PART); elm_widget_display_mode_set(obj, EVAS_DISPLAY_MODE_NONE); evas_object_smart_callback_call(obj, SIG_VIRTUALKEYPAD_STATE_OFF, NULL); }