[gnome-shell] panel: Fix ordering of status icons



commit 8f4a4d93f26664bfdf17a4467d6c3d6971706a26
Author: Marc-Antoine Perennou <Marc-Antoine Perennou com>
Date:   Thu Aug 25 20:42:32 2011 +0200

    panel: Fix ordering of status icons
    
    Otherwise a11y would be added to the right of the power indicator instead of to
    the left of keyboard indicator

 js/ui/panel.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 87f4d0a..4a46c30 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -964,7 +964,7 @@ Panel.prototype = {
             }
 
             let indicator = new constructor();
-            this.addToStatusArea(role, indicator, i-1);
+            this.addToStatusArea(role, indicator, i);
         }
 
         // PopupMenuManager depends on menus being added in order for



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