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
This commit is contained in:
Jasper St. Pierre 2011-10-25 14:43:51 -04:00
parent cc94076ffb
commit cf44234323

View File

@ -253,6 +253,8 @@ function disableExtension(uuid) {
} }
} }
extensionOrder.splice(orderIdx, 1);
meta.state = ExtensionState.DISABLED; meta.state = ExtensionState.DISABLED;
_signals.emit('extension-state-changed', meta); _signals.emit('extension-state-changed', meta);
} }