diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-08 01:07:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-08 01:07:24 +0100 |
commit | e3cf2c86fca1750343c1885311f857f185ee4f2d (patch) | |
tree | d9d1fbc20509d4c90f57fb2d9e1459bc8034c831 /gnome-extra/gnome-shell-extensions/files | |
parent | f1af93971b7490792d8541bc790e0d8c6d787059 (diff) |
gentoo resync : 08.09.2019
Diffstat (limited to 'gnome-extra/gnome-shell-extensions/files')
-rw-r--r-- | gnome-extra/gnome-shell-extensions/files/3.32.1-leak-fix.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extensions/files/3.32.1-leak-fix.patch b/gnome-extra/gnome-shell-extensions/files/3.32.1-leak-fix.patch new file mode 100644 index 000000000000..6166b67acd62 --- /dev/null +++ b/gnome-extra/gnome-shell-extensions/files/3.32.1-leak-fix.patch @@ -0,0 +1,36 @@ +From 13372e7e121209aa329b9784432dff8673b01d3f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org> +Date: Thu, 27 Jun 2019 01:57:53 +0000 +Subject: [PATCH] apps-menu: Add missing chain-up + +PanelMenu.Button is a bit weird in that it also "contains" its parent +actor. That container is supposed to be destroyed with the button, but +as we currently don't chain up to the parent class' _onDestroy(), we +leave behind an empty container every time the extension is disabled. + +Fix this by adding the missing chain-up. + +https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/75 + + +(cherry picked from commit dfeb99fc0a37051c33980b97a86c16f2ccdfa2bc) +--- + extensions/apps-menu/extension.js | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js +index d7ba570..c657a7e 100644 +--- a/extensions/apps-menu/extension.js ++++ b/extensions/apps-menu/extension.js +@@ -459,6 +459,8 @@ class ApplicationsButton extends PanelMenu.Button { + } + + _onDestroy() { ++ super._onDestroy(); ++ + Main.overview.disconnect(this._showingId); + Main.overview.disconnect(this._hidingId); + appSys.disconnect(this._installedChangedId); +-- +2.20.1 + |