From d862ba02470defd752b58453deb86e7fa413c409 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Sat, 25 Jan 2020 13:25:36 +0000 Subject: [PATCH] toolbar: Show icon text. Buttons without text? Maybe I'm too old but it's nice to read what the button you're using actually does. Toolbar scrolls. --- src/bin/edi_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c index 8aeed1e..d9fcb5f 100644 --- a/src/bin/edi_main.c +++ b/src/bin/edi_main.c @@ -1342,9 +1342,9 @@ _edi_toolbar_item_add(Evas_Object *tb, const char *icon, const char *name, Evas_ Elm_Object_Item *tb_it; if (!_edi_project_config->gui.internal_icons) - tb_it = elm_toolbar_item_append(tb, icon, NULL, func, NULL); + tb_it = elm_toolbar_item_append(tb, icon, name, func, NULL); else - tb_it = elm_toolbar_item_append(tb, edi_theme_icon_path_get(icon), NULL, func, NULL); + tb_it = elm_toolbar_item_append(tb, edi_theme_icon_path_get(icon), name, func, NULL); content = elm_toolbar_item_object_get(tb_it); elm_object_tooltip_text_set(content, name);