From 59191bc4b7899eb4c8aa1dba866a82dd77ef7907 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Fri, 4 Feb 2011 17:25:20 -0500 Subject: [PATCH] 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 --- js/ui/statusMenu.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/ui/statusMenu.js b/js/ui/statusMenu.js index f834aad49..e09c851e9 100644 --- a/js/ui/statusMenu.js +++ b/js/ui/statusMenu.js @@ -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));