Blame SOURCES/0001-apps-menu-Add-missing-chain-up.patch

8dc235
From 0bbeadadc41128b2be1f2b56c60b5a7a671d40da Mon Sep 17 00:00:00 2001
8dc235
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
8dc235
Date: Thu, 27 Jun 2019 03:57:53 +0200
8dc235
Subject: [PATCH] apps-menu: Add missing chain-up
8dc235
8dc235
PanelMenu.Button is a bit weird in that it also "contains" its parent
8dc235
actor. That container is supposed to be destroyed with the button, but
8dc235
as we currently don't chain up to the parent class' _onDestroy(), we
8dc235
leave behind an empty container every time the extension is disabled.
8dc235
8dc235
Fix this by adding the missing chain-up.
8dc235
8dc235
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/75
8dc235
---
8dc235
 extensions/apps-menu/extension.js | 2 ++
8dc235
 1 file changed, 2 insertions(+)
8dc235
8dc235
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
8dc235
index b9e7111..9803cc1 100644
8dc235
--- a/extensions/apps-menu/extension.js
8dc235
+++ b/extensions/apps-menu/extension.js
8dc235
@@ -433,6 +433,8 @@ class ApplicationsButton extends PanelMenu.Button {
8dc235
     }
8dc235
 
8dc235
     _onDestroy() {
8dc235
+        super._onDestroy();
8dc235
+
8dc235
         Main.overview.disconnect(this._showingId);
8dc235
         Main.overview.disconnect(this._hidingId);
8dc235
         appSys.disconnect(this._installedChangedId);
8dc235
-- 
8dc235
2.21.0
8dc235