mate-menu
mate-menu copied to clipboard
Fix categories without icon
For example, Citrix StoreFront sub-system generate menu file without <Directory> tag. Application plugin get from get_icon() value None and try to call .to_string(). Because it generates exception therefore any other categories did not process and menu is empty. This commit catches this situation and substitutes 'application-other' icon for categories without icon.