From eb2cf481957fdace6bc6a30ea4af05e8e3c37b13 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Wed, 26 Sep 2018 09:28:24 +0200 Subject: [PATCH] texteditor: use proper part name for button icons Summary: Nobody noticed that the buttons had no icon? Reviewers: zmike, ajwillia.ms Differential Revision: https://phab.enlightenment.org/D7078 --- apps/c/texteditor/src/texteditor_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/c/texteditor/src/texteditor_main.c b/apps/c/texteditor/src/texteditor_main.c index 824c6e80..463039ef 100644 --- a/apps/c/texteditor/src/texteditor_main.c +++ b/apps/c/texteditor/src/texteditor_main.c @@ -47,7 +47,7 @@ _gui_toolbar_button_add(Efl_Ui_Box *toolbar, const char *name, efl_add(EFL_UI_IMAGE_CLASS, toolbar, efl_ui_image_icon_set(efl_added, icon_name), - efl_content_set(efl_part(button, "elm.swallow.content"), efl_added)); + efl_content_set(efl_part(button, "efl.content"), efl_added)); return button; }