hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=4f4fd2c792f71056b0ca1502e7a9067318c968ca

commit 4f4fd2c792f71056b0ca1502e7a9067318c968ca
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Fri Feb 5 16:04:32 2016 +0900

    Improve the guide text (more kindly) for the live edit.
---
 src/bin/live_edit.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/live_edit.c b/src/bin/live_edit.c
index aea3943..9af681d 100644
--- a/src/bin/live_edit.c
+++ b/src/bin/live_edit.c
@@ -1012,7 +1012,9 @@ live_btn_create(Evas_Object *parent, const char *name, 
void * data)
    evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, EVAS_HINT_FILL);
    elm_object_focus_allow_set(btn, EINA_FALSE);
-   elm_object_tooltip_text_set(btn, name);
+   char buf[128];
+   snprintf(buf, sizeof(buf), "Add %s", name);
+   elm_object_tooltip_text_set(btn, buf);
    elm_object_tooltip_orient_set(btn, ELM_TOOLTIP_ORIENT_BOTTOM);
 
    Evas_Object *img = elm_image_add(btn);

-- 


Reply via email to