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
This commit is contained in:
Florian Müllner 2015-04-10 13:16:20 +02:00
parent e4718d3f7f
commit 7277744dc0

View File

@ -1252,10 +1252,6 @@ const NotificationMessage = new Lang.Class({
this.setUseBodyMarkup(n.bannerBodyMarkup);
},
canClose: function() {
return !this.notification.resident;
},
_onClicked: function() {
this.notification.activate();
},