From c9c1c89a27563037d9ea1beab86ba95c7ee637a9 Mon Sep 17 00:00:00 2001 From: Tim Lunn Date: Fri, 26 Apr 2013 16:35:22 +1000 Subject: [PATCH] dateMenu: append .desktop to evolution strings Since that is what the actual app_id's are. --- js/ui/dateMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index acb041891..2613e581e 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -221,8 +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'); + if (app.get_id() == 'evolution.desktop') + app = Gio.DesktopAppInfo.new('evolution-calendar.desktop'); app.launch([], global.create_app_launch_context()); },