From cf44234323f29cdab125cebb173f6c0d658f216f Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 25 Oct 2011 14:43:51 -0400 Subject: [PATCH] extensionSystem: Fix rebasing of extensions We need to remove the extension from the order after it's disabled https://bugzilla.gnome.org/show_bug.cgi?id=662704 --- js/ui/extensionSystem.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index 66f0904d7..f70aecde9 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -253,6 +253,8 @@ function disableExtension(uuid) { } } + extensionOrder.splice(orderIdx, 1); + meta.state = ExtensionState.DISABLED; _signals.emit('extension-state-changed', meta); }