[gnome-shell/wip/fmuellner/fix-alt-esc: 3/3] windowCycler: Create settings before chaining up
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/fix-alt-esc: 3/3] windowCycler: Create settings before chaining up
- Date: Mon, 18 Mar 2019 09:48:20 +0000 (UTC)
commit 31e7f0340fd0bd72f2d9848866b1f432ae82eee8
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]