seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=dcbf67bfe9da921184485b1c5e21c9f7c33e2c33

commit dcbf67bfe9da921184485b1c5e21c9f7c33e2c33
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Thu Jan 23 01:51:04 2014 +0900

    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.
---
 src/bin/test_hoversel.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/test_hoversel.c b/src/bin/test_hoversel.c
index 153ae50..b7a9c11 100644
--- a/src/bin/test_hoversel.c
+++ b/src/bin/test_hoversel.c
@@ -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

-- 


Reply via email to