[gnome-shell/wip/fmuellner/notification-redux: 58/128] 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: 58/128] calendar: Close calendar/overview when opening section
- Date: Tue, 17 Feb 2015 11:24:32 +0000 (UTC)
commit 074305b7ef818e636f5543bdf9a6bdaa8ba7006a
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 643dc44..17210d1 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]