[gnome-shell] main: Close calendar on activateWindow()



commit 4253df646390c18845f2cc31d4d7a7be60fd111a
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Feb 23 13:02:08 2015 +0100

    main: Close calendar on activateWindow()
    
    If activateWindow() is called as the result of activating an item
    in the Time & Date drop-down (most likely a notification), it should
    behave as other items and close the calendar.

 js/ui/main.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 2a80a90..8844dc6 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -529,6 +529,7 @@ function activateWindow(window, time, workspaceNum) {
     }
 
     overview.hide();
+    panel.closeCalendar();
 }
 
 // TODO - replace this timeout with some system to guess when the user might


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