From c0a3ba1cb8c6ebf8b353a821e5fe728ac885e0a1 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 14 Jun 2013 15:58:36 -0500 Subject: fix invocation of evolution's appointment editor --- src/planner-eds.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/planner-eds.c') diff --git a/src/planner-eds.c b/src/planner-eds.c index 6677b32..8fdc50b 100644 --- a/src/planner-eds.c +++ b/src/planner-eds.c @@ -228,15 +228,15 @@ my_activate_time (IndicatorDatetimePlanner * self G_GNUC_UNUSED, { gchar * isodate; gchar * command; - GError * error; + GError * err; - isodate = g_date_time_format (activate_time, "%F"); - command = g_strconcat ("evolution calendar:///?startdate=", isodate, NULL); - error = 0; - if (!g_spawn_command_line_async (command, &error)) + isodate = g_date_time_format (activate_time, "%Y%m%d"); + command = g_strdup_printf ("evolution \"calendar:///?startdate=%s\"", isodate); + err = 0; + if (!g_spawn_command_line_async (command, &err)) { - g_warning ("Unable to start %s: %s", command, error->message); - g_error_free (error); + g_warning ("Unable to start %s: %s", command, err->message); + g_error_free (err); } g_free (command); -- cgit v1.2.3