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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2832>
This commit is contained in:
Florian Müllner 2023-07-09 02:54:58 +02:00 committed by Marge Bot
parent 9e4de6a005
commit cdd19a7773

View File

@ -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)