We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cd9b74 commit 9bbb6a7Copy full SHA for 9bbb6a7
1 file changed
files/usr/share/cinnamon/applets/notifications@cinnamon.org/applet.js
@@ -67,16 +67,13 @@ class CinnamonNotificationsApplet extends Applet.TextIconApplet {
67
this._update_timestamp();
68
69
this.notifications.forEach(notification => {
70
- global.reparentActor(notification.actor, this._notificationbin);
+ if (notification.actor.get_parent() !== this._notificationbin)
71
+ global.reparentActor(notification.actor, this._notificationbin);
72
});
73
74
this.menu.toggle();
75
}
76
- _onMenuClosed() {
77
- this._notificationbin.remove_all_children();
78
- }
79
-
80
_display() {
81
// Always start the applet empty, void of any notifications.
82
this.set_applet_icon_symbolic_name("empty-notif");
0 commit comments