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



commit 780e98a2d435f6a5ab3671f8c659d0030b54a03a
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]