[gnome-shell] Remove Restart option from session menu
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Remove Restart option from session menu
- Date: Sat, 13 Nov 2010 14:58:24 +0000 (UTC)
commit 32cc13656343236b2e6716b6d6371fc76a919dd9
Author: William Jon McCann <jmccann redhat com>
Date: Sat Nov 13 08:39:53 2010 -0500
Remove Restart option from session menu
The action is far less common than powering off. It is mostly
used for performing system updates so the update tool should
offer the option directly. Also, currently the Shut Down option
dialog offers Restart anyway. We would like to keep the number
of entries in this menu as limited (close to 7) as we can.
js/ui/statusMenu.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/statusMenu.js b/js/ui/statusMenu.js
index f8f7dae..927fb21 100644
--- a/js/ui/statusMenu.js
+++ b/js/ui/statusMenu.js
@@ -147,10 +147,6 @@ StatusMenuButton.prototype = {
item.connect('activate', Lang.bind(this, this._onShutDownActivate));
this.menu.addMenuItem(item);
- item = new PopupMenu.PopupMenuItem(_("Restart..."));
- 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));
this.menu.addMenuItem(item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]