GMenu import failed

Bug #1400107 reported by John
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MenuLibre
Fix Released
Unknown

Bug Description

Hi Sean,

I installed menulibre 2.0.6 today, and ran into some trouble. Had to consult others,
as I'm not too great a programmer, particularly a gobject-introspection beginner.
But finally arrived at the following:

MenuEditor.py does:

from gi.repository import GdkPixbuf, Gio, GLib, GMenu, Gtk

GMenu is the Gnome menu, which seems to be deprecated (at least, it seems not
even GNOME uses it anymore). As you promote menulibre to be GNOME-free, I
suspect that is an error.

To get to Gio's GMenu (yeah... same name), you have to access
it through Gio.GMenu

I haven't really looked through menulibre's code yet, but I suspect a number of
changes are necessary in that case.

Revision history for this message
John (john-jcoppens) wrote :

Sorry... Confusion. The menu in Gio is Gio.Menu (not GMenu as claimed above)

Revision history for this message
John (john-jcoppens) wrote :

While I was away for a short while, Emmanuele Bassi (ebassi) completed his comment on IRC:

"if they are using GMenu then it means they are building a list of applications or something
this is something that is also available directly in Gio using Gio.AppInfo.get_all() and similar functions
It's also all cached, and there's a Gio.AppInfoMonitor singleton that emits a signal when somebody
installs or removes an application basically, GMenu is deprecated and redundant"

John

Sean Davis (bluesabre)
Changed in menulibre:
importance: Undecided → Unknown
status: New → Unknown
Changed in menulibre:
status: Unknown → New
Changed in menulibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.