GNOME Bugzilla – Bug 645063
Move administration tools to applications
Last modified: 2011-03-26 13:35:29 UTC
+++ This bug was initially created as a clone of Bug #645061 +++ See gnome-menus bug 645061 and downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=685142 Basically we're reading settings.menu now which picks up both preferences and legacy "administration" stuff; I'm still trying to determine where settings.menu comes from (on my Fedora 15 system, it comes from "redhat-menus")
Which has: #FIXME-> There is no hosting website for this project. Source0: %{name}-%{version}.tar.gz
settings.menu comes from gnome-menus, and has been dropped recently. (but perhaps Fedora is using something else). commit b68bcd27f44ce2c494f6e3cd9695890b9c02af04 Author: Vincent Untz <vuntz@gnome.org> Date: Tue Feb 1 15:18:49 2011 +0100 layout: Drop settings.menu It doesn't fit in the GNOME 3 world, where we use gnomecc.menu.
Created attachment 183678 [details] [review] ShellAppSystem: Only search gnomecc.menu for preferences settings.menu was removed in gnome-menus commit b68bcd27f44ce2c494f6e3cd9695890b9c02af04; gnomecc.menu is the intended replacement. (On Red Hat Linux derived systems, settings.menu continues to exist)
Note that without this (or the patch in bug 645061), Shell.AppSystem.get_default().get_app() returns null for g-c-c .desktop files because none of the categories in applications.menu match the categories exported by gnome-control-center.desktop and other g-c-c panel .desktop files. This combined with: 0d963df7 — "status: use Shell.AppSystem to launch settings panels" fea8b6da — "Remove broken ShellAppSystem API and all consumers" means that shell menu items can't launch any settings panels.
right now gnome-shel 2.91.92 is unable to open any of menu entries JS ERROR: !!! Exception in callback for signal: activate JS ERROR: !!! message = 'app is null' JS ERROR: !!! lineNumber = '250' JS ERROR: !!! fileName = '/usr/share/gnome-shell/js/ui/statusMenu.js' JS ERROR: !!! stack = '([object Object],[object _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/statusMenu.js:250 ([object Object],[object _private_Clutter_Event])@/usr/share/gjs-1.0/lang.js:110 _emit("activate",[object _private_Clutter_Event])@/usr/share/gjs-1.0/signals.js:124 ([object _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/popupMenu.js:95 ([object _private_Shell_GenericContainer],[object _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/popupMenu.js:68 ([object _private_Shell_GenericContainer],[object _private_Clutter_Event])@/usr/share/gjs-1.0/lang.js:110