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 649126 - alternative-status-menu not adding 'Power Off' option
alternative-status-menu not adding 'Power Off' option
Status: RESOLVED NOTABUG
Product: gnome-shell
Classification: Core
Component: extensions
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 649147 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-01 23:01 UTC by Malcolm Lewis
Modified: 2011-05-04 14:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Looking Glass error screenshot (49.27 KB, image/png)
2011-05-01 23:01 UTC, Malcolm Lewis
Details

Description Malcolm Lewis 2011-05-01 23:01:50 UTC
Created attachment 187000 [details]
Looking Glass error screenshot

After installing the latest git release of gnome-shell-extensions (via rpm built on openSUSE Build Service), the alternative-status-menu loads after a gnome-shell restart, however it generates the following error text in Looking Glass Errors.

Error text: While loading extension from /usr/share/gnome-shell/extensions/alternative-status-menu@gnome-shell-extensions.gnome.org": Failed to evaluate main function:TypeError: statusMenu is undefined

The Power Off option was present in the previous git release, all other loaded extensions are working fine.

OS: openSUSE 11.4
Gnome-Shell: 3.0.1
gnome-shell-extensions: git show-ref HEAD
f016b95f772f7ca3947ecee7dc2cea55a15e5138 refs/remotes/origin/HEAD
Comment 1 Frederic Peters 2011-05-02 08:24:21 UTC
*** Bug 649147 has been marked as a duplicate of this bug. ***
Comment 2 Giovanni Campagna 2011-05-02 12:45:04 UTC
Although it shares the version number with current stable shell (3.0.1, because it is pre-release bumped), git master is meant to go with shell master, which is not compatible with shell 3.0.1
Use alternative-status-menu from the gnome-3-0 branch (3.0.1 tag).
Comment 3 Malcolm Lewis 2011-05-02 15:08:03 UTC
OK, thanks for the clarification, consider this issue closed.
Comment 4 Miguel Aguilar 2011-05-04 14:06:19 UTC
To correct the error sufficient to change the extension.js for:

http://pastebin.com/Tmc319gB

Change line 102: 

let statusMenu = Main.panel._userMenu;

by:

let statusMenu = Main.panel._statusmenu;