From 90f15b3c5abdb26da1b465f64b4f5891e3c50e01 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 14 Mar 2011 09:05:59 -0400 Subject: [PATCH] dateMenu: open calendar specifically when opening evolution https://bugzilla.gnome.org/show_bug.cgi?id=641504 --- js/ui/dateMenu.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 8d35bbcef..6af0b68f5 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -205,8 +205,7 @@ DateMenuButton.prototype = { _onOpenCalendarActivate: function() { this.menu.close(); - // TODO: pass '-c calendar' (to force the calendar at startup) // TODO: pass the selected day - Util.spawnDesktop('evolution'); - }, + Util.spawn(['evolution', '-c', 'calendar']); + } };