[gnome-shell/wip/rstrode/rhel-7.9: 83/86] panelMenu: Add a destroy handler to panel menu
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/rstrode/rhel-7.9: 83/86] panelMenu: Add a destroy handler to panel menu
- Date: Fri, 12 Feb 2021 19:04:08 +0000 (UTC)
commit f96ee59662134ad5edebc7127939e4febf6642ac
Author: Ray Strode <rstrode redhat com>
Date: Tue Oct 6 10:37:54 2020 -0400
panelMenu: Add a destroy handler to panel menu
This prevents some spew from classic mode extensions
js/ui/panelMenu.js | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/js/ui/panelMenu.js b/js/ui/panelMenu.js
index b23d8e49fe..c44e91f8c1 100644
--- a/js/ui/panelMenu.js
+++ b/js/ui/panelMenu.js
@@ -192,7 +192,12 @@ var Button = new Lang.Class({
this.actor.destroy();
this.emit('destroy');
+ },
+
+ _onDestroy() {
+ /* Just a placeholder for newer extension compatibility */
}
+
});
Signals.addSignalMethods(Button.prototype);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]