From 063f00037f0b60ebc7715d414dca5858d16ecd1ca3355e85002963777815b8da Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 18 Sep 2017 09:04:14 +0000 Subject: [PATCH] Accepting request 526947 from home:xiaoguang_wang:branches:GNOME:Factory - Update patch gse-sle-classic-ext.patch. Fix 'this._pureWinList is null', error involved in bsc#1046570 fix(bsc#1046570). OBS-URL: https://build.opensuse.org/request/show/526947 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=134 --- gnome-shell-extensions.changes | 7 +++++++ gse-sle-classic-ext.patch | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gnome-shell-extensions.changes b/gnome-shell-extensions.changes index a9dedfe..5f4e9f7 100644 --- a/gnome-shell-extensions.changes +++ b/gnome-shell-extensions.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 18 06:38:10 UTC 2017 - xwang@suse.com + +- Update patch gse-sle-classic-ext.patch. + Fix 'this._pureWinList is null', error involved in bsc#1046570 + fix(bsc#1046570). + ------------------------------------------------------------------- Wed Sep 13 02:57:16 UTC 2017 - xwang@suse.com diff --git a/gse-sle-classic-ext.patch b/gse-sle-classic-ext.patch index 0feaf83..36cec35 100644 --- a/gse-sle-classic-ext.patch +++ b/gse-sle-classic-ext.patch @@ -838,7 +838,7 @@ Index: gnome-shell-extensions-3.26.0/extensions/window-list/extension.js }, enable: function() { -@@ -1301,6 +1392,71 @@ const Extension = new Lang.Class({ +@@ -1301,6 +1392,73 @@ const Extension = new Lang.Class({ } }); @@ -880,6 +880,7 @@ Index: gnome-shell-extensions-3.26.0/extensions/window-list/extension.js + // No need for `showOnAllMonitors` change either even this option + // changes. + ++ this._heightChangeId = + Main.panel.actor.connect('notify::height', Lang.bind(this, function() { + Main.layoutManager.panelBox.set_position(this._pureWinList._monitor.x, + this._pureWinList._monitor.y + this._pureWinList._monitor.height - Main.panel.actor.height); @@ -890,6 +891,7 @@ Index: gnome-shell-extensions-3.26.0/extensions/window-list/extension.js + if (!this._pureWinList) + return; + ++ Main.panel.actor.disconnect(this._heightChangeId); + this._pureWinList.actor.hide(); + this._pureWinList.actor.destroy(); +