Labwc does not support menu icons, but we should not log errors if a
menu file contains icons as in the example below:
<item label="" icon="">
<action name="Execute">
<command></command>
</action>
</item>
} else if (!current_item) {
wlr_log(WLR_ERROR, "expect <item label=\"\"> element first. "
"nodename: '%s' content: '%s'", nodename, content);
+ } else if (!strcmp(nodename, "icon")) {
+ /*
+ * Do nothing as we don't support menu icons - just avoid
+ * logging errors if a menu.xml file contains icon="" entries.
+ */
} else if (!strcmp(nodename, "name.action")) {
current_item_action = action_create(content);
wl_list_insert(current_item->actions.prev, ¤t_item_action->link);