From cdd19a7773e2c1f68a54ff395c63b3c4ad04ae86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 9 Jul 2023 02:54:58 +0200 Subject: [PATCH] dbusServices/extensions: Save stateObj on extension We don't need it for anything for the time being, but reducing the differences between extension object in the gnome-shell process and in preferences still seems a good idea. Part-of: --- js/dbusServices/extensions/extensionPrefsDialog.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/dbusServices/extensions/extensionPrefsDialog.js b/js/dbusServices/extensions/extensionPrefsDialog.js index 01c4a5c20..546af60ba 100644 --- a/js/dbusServices/extensions/extensionPrefsDialog.js +++ b/js/dbusServices/extensions/extensionPrefsDialog.js @@ -36,6 +36,8 @@ export const ExtensionPrefsDialog = GObject.registerClass({ const prefsModule = await import(prefsJs.get_uri()); const prefsObj = new prefsModule.default(metadata); + this._extension.stateObj = prefsObj; + prefsObj.fillPreferencesWindow(this); if (!this.visible_page)