forked from enlightenment/efl
elementary/menu - only set icons when string exists.
SVN revision: 78753
This commit is contained in:
parent
9e64662456
commit
24ff5df8bc
|
@ -190,8 +190,9 @@ _elm_menu_smart_theme(Evas_Object *obj)
|
|||
elm_widget_style_get(obj));
|
||||
elm_object_item_text_set((Elm_Object_Item *)item,
|
||||
item->label);
|
||||
elm_menu_item_icon_name_set((Elm_Object_Item *)item,
|
||||
item->icon_str);
|
||||
if (item->icon_str)
|
||||
elm_menu_item_icon_name_set((Elm_Object_Item *)item,
|
||||
item->icon_str);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue