mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
extensionSystem: Fix updating extension list on session update
Before reenabling all extensions, we update the list of enabled extensions to catch any changes that happened while extensions were enabled. However this is currently broken as onEnabledExtensionsChanged() is a nop while disabled, so just call getEnabledExtensions() directly.
This commit is contained in:
parent
fd837d74d1
commit
a36686a6aa
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ function _sessionUpdated() {
|
|||
// from allowExtensions in the future
|
||||
if (Main.sessionMode.allowExtensions) {
|
||||
if (initted)
|
||||
onEnabledExtensionsChanged();
|
||||
enabledExtensions = getEnabledExtensions();
|
||||
enableAllExtensions();
|
||||
} else {
|
||||
disableAllExtensions();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue