mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
9e4de6a005
commit
cdd19a7773
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue