[gnome-shell/wip/fmuellner/notification-redux+sass: 110/141] notificationDaemon: Close calendar when opening app



commit f6492c040e1e5db3bff95d9fc6a1c231f4241ac2
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Feb 14 05:59:01 2015 +0100

    notificationDaemon: Close calendar when opening app
    
    Just like we leave the overview when activating a notification,
    the calendar popup should be closed - after all, the only case
    where the calendar is open when a notification's default action
    is activated is the user clicking an entry in the message list's
    notification section.

 js/ui/notificationDaemon.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index 3731a17..feb9185 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -561,6 +561,7 @@ const FdoNotificationDaemonSource = new Lang.Class({
 
         this.app.activate();
         Main.overview.hide();
+        Main.panel.closeCalendar();
     },
 
     destroy: function() {


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