From 7277744dc062c2cb40ce23491af9527aedd6947c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 10 Apr 2015 13:16:20 +0200 Subject: [PATCH] calendar: Allow to dismiss resident notifications Resident notifications are not really a thing anymore with the new design, so all the user sees are some notifications that mysteriously cannot be closed. That's utterly confusing, stop doing that. https://bugzilla.gnome.org/show_bug.cgi?id=746860 --- js/ui/calendar.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 38263e56e..b571e4c6b 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -1252,10 +1252,6 @@ const NotificationMessage = new Lang.Class({ this.setUseBodyMarkup(n.bannerBodyMarkup); }, - canClose: function() { - return !this.notification.resident; - }, - _onClicked: function() { this.notification.activate(); },