[Bug 295821] x11/mate-menus: Edit Menus not working
[email protected] Wed, 03 Jun 2026 17:04:16 +0000
| Newsgroups | gmane.os.freebsd.devel.gnome |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295821
Bug ID: 295821
Summary: x11/mate-menus: Edit Menus not working
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Assignee: [email protected]
Flags: maintainer-feedback?([email protected])
Created attachment 271450
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D271450&action=
=3Dedit
patch from
https://gitlab.gnome.org/GNOME/gnome-menus/-/commit/fe1eca74e1b6d75941d5608=
8ea2aeca97b639926
Trying to edit the Mate menu, I got the following error:
ERROR:../pygobject/gi/pygi-cache.c:274:_arg_cache_new_for_interface: code
should not be reached
Bail out! ERROR:../pygobject/gi/pygi-cache.c:274:_arg_cache_new_for_interfa=
ce:
code should not be reached
So I tried to rebuild the following ports:
- devel/pygobject-common
- devel/py-pygobject
- x11/mate-menus
but the error changed to the following:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/Mozo/MainWindow.py", line 4=
01,
in on_menu_tree_cursor_changed
self.loadItems(self.menu_store[menu_path][2], menu_path)
File "/usr/local/lib/python3.11/site-packages/Mozo/MainWindow.py", line 2=
57,
in loadItems
for item, show in self.editor.getItems(menu):
File "/usr/local/lib/python3.11/site-packages/Mozo/MenuEditor.py", line 3=
00,
in getItems
yield (item, self.__isVisible(item))
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/Mozo/MenuEditor.py", line 5=
80,
in __isVisible
app_info =3D item.get_app_info()
^^^^^^^^^^^^^^^^^
AttributeError: 'TreeEntry' object has no attribute 'get_app_info'
Doing some search about the error I've found the following:
https://github.com/mate-desktop/mozo/issues/97
https://github.com/mate-desktop/mate-menus/pull/120
(and some other pages linked from the above)
After rebuilding x11/mate-menus with the attached patch Edit Menus is worki=
ng
again.
The patch is created from what has been done for gnome-menus (upstream) and
then used for mate-menus in Fedora and Arch.
Later I've found what looks like an upstream patch for mate-menus, but at t=
he
moment I have no time to test it:
https://github.com/mate-desktop/mate-menus/pull/120/commits/9c503ce6263f2c0=
b0af8e23db8f95064f8ac393c
--=20
You are receiving this mail because:
You are the assignee for the bug.=