[gnome-shell/wip/fmuellner/notification-redux+sass: 140/207] calendar: Close calendar/overview when opening section
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux+sass: 140/207] calendar: Close calendar/overview when opening section
- Date: Tue, 17 Feb 2015 17:05:46 +0000 (UTC)
commit 10476785594681402e0df95f5327f720acb54bb1
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 13 12:16:59 2015 +0100
calendar: Close calendar/overview when opening section
js/ui/calendar.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 239fe35..6cc186a 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -1309,6 +1309,7 @@ const NotificationSection = new Lang.Class({
}
Main.overview.hide();
+ Main.panel.closeCalendar();
app.activate();
},
@@ -1420,6 +1421,9 @@ const EventsSection = new Lang.Class({
let app = this._getCalendarApp();
if (app.get_id() == 'evolution.desktop')
app = Gio.DesktopAppInfo.new('evolution-calendar.desktop');
+
+ Main.panel.closeCalendar();
+ Main.overview.hide();
app.launch([], global.create_app_launch_context(0, -1));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]