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



commit 33b226527f361fe66b027224d72606f75bfaead8
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744817

 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]