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.
This commit is contained in:
Alastair Poole 2020-01-25 13:25:36 +00:00
parent 7a80d13488
commit d862ba0247
1 changed files with 2 additions and 2 deletions

View File

@ -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);