statusMenu: temporarily drop Suspend menu item

It doesn't currently work, so hide it for now.

It's not clear it's going to stay around long term,
anyway. If it doesn't we can delete the code, then.
Otherwise, we can add the code back when we have
something that works.

https://bugzilla.gnome.org/show_bug.cgi?id=636680
This commit is contained in:
Ray Strode 2011-02-04 17:25:20 -05:00
parent 3173401cc2
commit 59191bc4b7

View File

@ -139,9 +139,12 @@ StatusMenuButton.prototype = {
item = new PopupMenu.PopupSeparatorMenuItem();
this.menu.addMenuItem(item);
item = new PopupMenu.PopupMenuItem(_("Suspend..."));
item.connect('activate', Lang.bind(this, this._onShutDownActivate));
this.menu.addMenuItem(item);
// This is temporarily removed, see
// http://bugzilla.gnome.org/show_bug.cgi?id=636680
// for details.
//item = new PopupMenu.PopupMenuItem(_("Suspend..."));
//item.connect('activate', Lang.bind(this, this._onShutDownActivate));
//this.menu.addMenuItem(item);
item = new PopupMenu.PopupMenuItem(_("Shut Down..."));
item.connect('activate', Lang.bind(this, this._onShutDownActivate));