[gnome-shell/wip/fmuellner/notification-redux+sass: 72/122] calendar: Acknowledge read notifications
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux+sass: 72/122] calendar: Acknowledge read notifications
- Date: Tue, 17 Feb 2015 15:10:01 +0000 (UTC)
commit d04ccf211abe2e6e90d824899f77b584bcdf56ff
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Feb 14 04:57:41 2015 +0100
calendar: Acknowledge read notifications
js/ui/calendar.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index c5faa30..5098e7e 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -1294,6 +1294,9 @@ const NotificationSection = new Lang.Class({
}));
listEntry.connect('close', function() { notification.destroy(); });
listEntry.notification = notification;
+ if (this.mapped)
+ notification.acknowledged = true;
+
let listChild = this.addMessage(listEntry, this.actor.mapped);
// TODO: Keep URGENT notifications on top
this._list.set_child_below_sibling(listChild, null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]