Commit 44e007e1 authored by Chenthill Palanisamy's avatar Chenthill Palanisamy
Browse files

Make "open_calendar" function as expected.

parent 8c2d09db
......@@ -536,7 +536,7 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
header = (gchar *) cp;
header[header_len] = '\0';
cp += header_len + 1;
cp += header_len + 2;
content_len = strcspn (cp, "&");
......@@ -557,7 +557,7 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
comp_rid = g_strdup (content);
g_free (content);
cp += content_len;
cp += content_len + 1;
if (*cp == '&') {
cp++;
if (strcmp (cp, "amp;") == 0)
......
......@@ -2129,7 +2129,7 @@ idle_open_cb (gpointer data)
start = isodate_from_time_t (pitip->start_time);
end = isodate_from_time_t (pitip->end_time);
m = mail_msg_new (&open_calendar_info);
m->command = g_strdup_printf ("evolution \"calendar://?startdate=%s&enddate=%s\"", start, end);
m->command = g_strdup_printf ("evolution \"calendar:///?startdate=&%s&enddate=&%s\"", start, end);
mail_msg_slow_ordered_push (m);
g_free (start);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment