[gnome-shell] statusMenu: temporarily drop Suspend menu item
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] statusMenu: temporarily drop Suspend menu item
- Date: Fri, 4 Feb 2011 22:28:26 +0000 (UTC)
commit 59191bc4b7899eb4c8aa1dba866a82dd77ef7907
Author: Ray Strode <rstrode redhat com>
Date: Fri Feb 4 17:25:20 2011 -0500
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 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/statusMenu.js b/js/ui/statusMenu.js
index f834aad..e09c851 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]