From 2791d948e9fbbf373818d988a0710aadb1e0b094 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Tue, 17 Jul 2012 12:20:56 +0200 Subject: [PATCH] UserMenu: move Install Updates at the end Follow the design update and move the Install Updates item at the end, together with Power Off. https://bugzilla.gnome.org/show_bug.cgi?id=680080 --- js/ui/userMenu.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index f8a57d2dc..f535923ae 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -721,17 +721,17 @@ const UserMenuButton = new Lang.Class({ item = new PopupMenu.PopupSeparatorMenuItem(); this.menu.addMenuItem(item); - item = new PopupMenu.PopupMenuItem(_("Install Updates & Restart")); - item.connect('activate', Lang.bind(this, this._onInstallUpdatesActivate)); - this.menu.addMenuItem(item); - this._installUpdatesItem = item; - item = new PopupMenu.PopupAlternatingMenuItem(_("Power Off"), _("Suspend")); this.menu.addMenuItem(item); item.connect('activate', Lang.bind(this, this._onSuspendOrPowerOffActivate)); this._suspendOrPowerOffItem = item; this._updateSuspendOrPowerOff(); + + item = new PopupMenu.PopupMenuItem(_("Install Updates & Restart")); + item.connect('activate', Lang.bind(this, this._onInstallUpdatesActivate)); + this.menu.addMenuItem(item); + this._installUpdatesItem = item; }, _updatePresenceStatus: function(item, event) {