From: Christopher Michael Date: Mon, 19 Apr 2010 19:34:13 +0000 (+0000) Subject: Don't set icon here. Icon will be set in property change. X-Git-Tag: submit/efl/20131021.015651~7755 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0a04c0e09f016a38eae4c3fb1c60fbb20d8cf4b;p=platform%2Fupstream%2Fenlightenment.git Don't set icon here. Icon will be set in property change. SVN revision: 48141 --- diff --git a/src/modules/illume-kbd-toggle/e_mod_main.c b/src/modules/illume-kbd-toggle/e_mod_main.c index 96a2994..67e8a7f 100644 --- a/src/modules/illume-kbd-toggle/e_mod_main.c +++ b/src/modules/illume-kbd-toggle/e_mod_main.c @@ -153,17 +153,11 @@ _cb_btn_click(void *data, void *data2) if (bd->zone != inst->gcc->gadcon->zone) return; if (bd->client.vkbd.state <= ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF) - { - ecore_x_e_virtual_keyboard_state_set(bd->client.win, - ECORE_X_VIRTUAL_KEYBOARD_STATE_ON); - _set_btn_icon(inst->o_btn, ECORE_X_VIRTUAL_KEYBOARD_STATE_ON); - } + ecore_x_e_virtual_keyboard_state_set(bd->client.win, + ECORE_X_VIRTUAL_KEYBOARD_STATE_ON); else - { - ecore_x_e_virtual_keyboard_state_set(bd->client.win, - ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF); - _set_btn_icon(inst->o_btn, ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF); - } + ecore_x_e_virtual_keyboard_state_set(bd->client.win, + ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF); } static int