From 390491b37a75a89cafeb73b37f3803fb40fcde49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 23 Mar 2013 09:29:34 +0100 Subject: [PATCH] dateMenu: Re-add special-casing of evolution-calendar When commit 724a2bd7 changed the way to determine the default calendar app, it dropped all special handling of evolution. Unfortunately we still need it to not end up with the default mail component, so add it back. https://bugzilla.gnome.org/show_bug.cgi?id=696432 --- js/ui/dateMenu.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index abd7da4f2..acb041891 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -221,6 +221,8 @@ const DateMenuButton = new Lang.Class({ this.menu.close(); let app = Gio.AppInfo.get_default_for_type('text/calendar', false); + if (app.get_id() == 'evolution') + app = Gio.DesktopAppInfo.new('evolution-calendar'); app.launch([], global.create_app_launch_context()); },