[gnome-shell] calendar: Allow to dismiss resident notifications



commit 7277744dc062c2cb40ce23491af9527aedd6947c
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Apr 10 13:16:20 2015 +0200

    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 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 38263e5..b571e4c 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();
     },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]