When the theme was changed, it added the signal callback
a new time causing the signal to be processed more than
once.
PTAP-49
Change-Id: I22ba3b8ae1a4d0f7507788d7419be8dd61f9314a
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
evas = ecore_evas_get(wkb->ee);
wkb->edje_obj = edje_object_add(evas);
evas = ecore_evas_get(wkb->ee);
wkb->edje_obj = edje_object_add(evas);
+ edje_object_signal_callback_add(wkb->edje_obj, "key_down", "*", _cb_wkb_on_key_down, wkb);
}
/* Bail out if theme did not change */
}
/* Bail out if theme did not change */
evas_object_size_hint_min_set(wkb->edje_obj, w, h);
evas_object_size_hint_max_set(wkb->edje_obj, w, h);
evas_object_size_hint_min_set(wkb->edje_obj, w, h);
evas_object_size_hint_max_set(wkb->edje_obj, w, h);
- edje_object_signal_callback_add(wkb->edje_obj, "key_down", "*", _cb_wkb_on_key_down, wkb);
-
/*
* The keyboard surface is bigger than it appears so that we can show the
* key pressed animation without requiring the use of subsurfaces. Here we
/*
* The keyboard surface is bigger than it appears so that we can show the
* key pressed animation without requiring the use of subsurfaces. Here we