After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645063 - Move administration tools to applications
Move administration tools to applications
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on: 645061
Blocks:
 
 
Reported: 2011-03-17 19:28 UTC by Colin Walters
Modified: 2011-03-26 13:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ShellAppSystem: Only search gnomecc.menu for preferences (1.10 KB, patch)
2011-03-17 20:28 UTC, Colin Walters
none Details | Review

Description Colin Walters 2011-03-17 19:28:20 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")
Comment 1 Colin Walters 2011-03-17 19:30:55 UTC
Which has:

#FIXME-> There is no hosting website for this project.
Source0: %{name}-%{version}.tar.gz
Comment 2 Frederic Peters 2011-03-17 19:46:28 UTC
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.
Comment 3 Colin Walters 2011-03-17 20:28:18 UTC
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)
Comment 4 Nirbheek Chauhan 2011-03-21 07:24:42 UTC
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.
Comment 5 Ionut Biru 2011-03-23 16:46:35 UTC
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