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:
parent
764dee4cd3
commit
eb2cf48195
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue