diff --git a/gestures.js b/gestures.js index afd029fc..f5c1b7ca 100644 --- a/gestures.js +++ b/gestures.js @@ -1,5 +1,5 @@ const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module; -const Settings = Module.Settings(); +const Settings = Module.Extension.imports.settings; const Meta = imports.gi.Meta; const Gio = imports.gi.Gio; const Clutter = imports.gi.Clutter; diff --git a/grab.js b/grab.js index b90fcbd1..1d73aea8 100644 --- a/grab.js +++ b/grab.js @@ -1,5 +1,5 @@ const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module; -const Settings = Module.Settings(); +const Settings = Module.Extension.imports.settings; const { Meta, Clutter, St, Graphene } = imports.gi; const Main = imports.ui.main; const Mainloop = imports.mainloop; diff --git a/liveAltTab.js b/liveAltTab.js index a9784576..a16095d3 100644 --- a/liveAltTab.js +++ b/liveAltTab.js @@ -1,5 +1,5 @@ const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module; -const Settings = Module.Settings(); +const Settings = Module.Extension.imports.settings; const Easer = Module.Extension.imports.utils.easer; const {Clutter, Meta, Gio} = imports.gi; diff --git a/minimap.js b/minimap.js index 0c2bdfa8..beae89cf 100644 --- a/minimap.js +++ b/minimap.js @@ -1,5 +1,5 @@ const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module; -const Settings = Module.Settings(); +const Settings = Module.Extension.imports.settings; const Easer = Module.Extension.imports.utils.easer; const Clutter = imports.gi.Clutter; diff --git a/stackoverlay.js b/stackoverlay.js index db271659..91fb288c 100644 --- a/stackoverlay.js +++ b/stackoverlay.js @@ -1,5 +1,5 @@ const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module; -const Settings = Module.Settings(); +const Settings = Module.Extension.imports.settings; const {Clutter, Shell, Meta, St} = imports.gi; const Main = imports.ui.main; diff --git a/tiling.js b/tiling.js index 2d6429a3..4eb50c23 100644 --- a/tiling.js +++ b/tiling.js @@ -1,5 +1,5 @@ const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module; -const Settings = Module.Settings(); +const Settings = Module.Extension.imports.settings; const Easer = Module.Extension.imports.utils.easer; const ClickOverlay = Module.Extension.imports.stackoverlay.ClickOverlay; diff --git a/topbar.js b/topbar.js index fcaa927e..c115b29e 100644 --- a/topbar.js +++ b/topbar.js @@ -2,7 +2,7 @@ Functionality related to the top bar, often called the statusbar. */ const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module; -const Settings = Module.Settings(); +const Settings = Module.Extension.imports.settings; const Easer = Module.Extension.imports.utils.easer; const {Clutter, St, Graphene, GLib, Meta, Gio} = imports.gi;