test_hoversel: Change the hoversel button text when an hoversel item is

selected.

This reveals hoversel bug on mobile profile that changes the size of
text parts on continuous item change.
This commit is contained in:
Daniel Juyung Seo 2014-01-23 01:51:04 +09:00
parent 3eb9e6b4cf
commit f79a003b6b
1 changed files with 4 additions and 2 deletions

View File

@ -104,8 +104,10 @@ static void
_hoversel_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info)
{
printf("'selected' callback is called. (selected item : %s)\n",
elm_object_item_text_get(event_info));
const char *txt = elm_object_item_text_get(event_info);
printf("'selected' callback is called. (selected item : %s)\n", txt);
elm_object_text_set(obj, txt);
}
static void