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
This commit is contained in:
Xavi Artigas 2018-09-26 09:28:24 +02:00
parent 764dee4cd3
commit eb2cf48195
1 changed files with 1 additions and 1 deletions

View File

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