[gnome-shell] UserMenu: move Install Updates at the end



commit 2791d948e9fbbf373818d988a0710aadb1e0b094
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Tue Jul 17 12:20:56 2012 +0200

    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 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index f8a57d2..f535923 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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]