forked from enlightenment/efl
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.
This commit is contained in:
parent
8ed79613c5
commit
3f7092477b
|
@ -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.
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue