enlightenment/conf: fix missing icons in settings panel
Shows the 'unknown' icon for settings panel items which have no icon defined. @fix
This commit is contained in:
parent
86e769f83f
commit
503bd482bd
|
@ -356,6 +356,8 @@ _e_configure_item_add(E_Configure_Category *cat, const char *label, const char *
|
|||
ci->label = eina_stringshare_add(label);
|
||||
if (icon_file) ci->icon_file = eina_stringshare_add(icon_file);
|
||||
if (icon) ci->icon = eina_stringshare_add(icon);
|
||||
if ((!ci->icon_file) && (!ci->icon))
|
||||
ci->icon = eina_stringshare_add("unknown");
|
||||
cat->items = eina_list_append(cat->items, ci);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue