Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ykoba:Current_Leap
mate-menu
fix-categories-without-icon.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor