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



commit 938b39a436ddb0a5583de854192a3301ef63912e
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]