[gnome-shell] Disable all extensions in reverse order



commit 88ce65266eb5635f8e8ae2a6b45ad8da6e576e28
Author: Tomeu Vizoso <tomeu vizoso collabora com>
Date:   Tue May 21 17:32:39 2013 +0200

    Disable all extensions in reverse order
    
    So we avoid having to disable and enable an extension that is to
    be disabled later anyway.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700784

 js/ui/extensionSystem.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js
index 8c12e97..a929451 100644
--- a/js/ui/extensionSystem.js
+++ b/js/ui/extensionSystem.js
@@ -292,7 +292,7 @@ function disableAllExtensions() {
         return;
 
     if (initted) {
-        enabledExtensions.forEach(function(uuid) {
+        extensionOrder.slice().reverse().forEach(function(uuid) {
             disableExtension(uuid);
         });
     }


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