File fix-categories-without-icon.patch of Package mate-menu
--- ./mate_menu/plugins/applications.py.orig 2022-03-25 07:32:01.000000000 +0900
+++ ./mate_menu/plugins/applications.py 2023-06-10 02:10:12.259431026 +0900
@@ -1569,7 +1569,11 @@
for child in get_contents(menu.directory):
if isinstance(child, MateMenu.TreeDirectory):
name = child.get_name()
- icon = child.get_icon().to_string()
+ icon = child.get_icon()
+ if ( icon == None ):
+ icon = "applications-other"
+ else:
+ icon = icon.to_string()
newCategoryList.append( { "name": name, "icon": icon, "tooltip": name, "filter": name, "index": num } )
num += 1