[gnome-shell/wip/fmuellner/fix-alt-esc] windowCycler: Create settings before chaining up



commit 00a4891fb93a3846c48bc6fc1167205e2afab67b
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Mar 16 23:22:29 2019 +0100

    windowCycler: Create settings before chaining up
    
    It's used in _getWindows() which is called from the parent's _init().
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/1064

 js/ui/altTab.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index cdd5d8e21..fb9c875c8 100644
--- a/js/ui/altTab.js
+++ b/js/ui/altTab.js
@@ -619,9 +619,8 @@ class WindowSwitcherPopup extends SwitcherPopup.SwitcherPopup {
 var WindowCyclerPopup = GObject.registerClass(
 class WindowCyclerPopup extends CyclerPopup {
     _init() {
-        super._init();
-
         this._settings = new Gio.Settings({ schema_id: 'org.gnome.shell.window-switcher' });
+        super._init();
     }
 
     _getWindows() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]