[gnome-shell/wip/fmuellner/notification-redux: 80/88] notificationDaemon: Hide overview/calendar for GTK+ notifications as well



commit 86b76d50e7cf7202d0dfb27ba74e40adde682a0d
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Feb 14 06:01:20 2015 +0100

    notificationDaemon: Hide overview/calendar for GTK+ notifications as well

 js/ui/notificationDaemon.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index 9d2d219..8b97607 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -752,6 +752,9 @@ const GtkNotificationDaemonAppSource = new Lang.Class({
     open: function() {
         let app = this._createApp();
         app.ActivateRemote(getPlatformData());
+
+        Main.overview.hide();
+        Main.panel.closeCalendar();
     },
 
     addNotification: function(notificationId, notificationParams, showBanner) {


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