summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 01:51:04 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 01:51:04 +0900
commitdcbf67bfe9da921184485b1c5e21c9f7c33e2c33 (patch)
tree188e6a23bb36635c657f87e933d78852379b50d7 /src/bin
parent54865bd7aa826018dcd051930c335b22fe48793e (diff)
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.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/test_hoversel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/test_hoversel.c b/src/bin/test_hoversel.c
index 153ae502f..b7a9c110b 100644
--- a/src/bin/test_hoversel.c
+++ b/src/bin/test_hoversel.c
@@ -104,8 +104,10 @@ static void
104_hoversel_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, 104_hoversel_selected_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
105 void *event_info) 105 void *event_info)
106{ 106{
107 printf("'selected' callback is called. (selected item : %s)\n", 107 const char *txt = elm_object_item_text_get(event_info);
108 elm_object_item_text_get(event_info)); 108
109 printf("'selected' callback is called. (selected item : %s)\n", txt);
110 elm_object_text_set(obj, txt);
109} 111}
110 112
111static void 113static void