diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2011-07-15 13:57:49 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchenthill@novell.com> | 2011-07-15 15:42:42 +0800 |
commit | 0b700720098bcf8f69ed61020833a5521dd085b5 (patch) | |
tree | 86f96006b73e92b1850a03143d0996358f44cb05 | |
parent | acdb00e88a2c7410d925ba4ade2cf5dca60c38ef (diff) | |
download | gsoc2013-evolution-0b700720098bcf8f69ed61020833a5521dd085b5.tar gsoc2013-evolution-0b700720098bcf8f69ed61020833a5521dd085b5.tar.gz gsoc2013-evolution-0b700720098bcf8f69ed61020833a5521dd085b5.tar.bz2 gsoc2013-evolution-0b700720098bcf8f69ed61020833a5521dd085b5.tar.lz gsoc2013-evolution-0b700720098bcf8f69ed61020833a5521dd085b5.tar.xz gsoc2013-evolution-0b700720098bcf8f69ed61020833a5521dd085b5.tar.zst gsoc2013-evolution-0b700720098bcf8f69ed61020833a5521dd085b5.zip |
Make "open_calendar" function as expected.
-rw-r--r-- | modules/calendar/e-cal-shell-backend.c | 4 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c index d0f97caae2..4e4800e990 100644 --- a/modules/calendar/e-cal-shell-backend.c +++ b/modules/calendar/e-cal-shell-backend.c @@ -534,7 +534,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, "&"); @@ -555,7 +555,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) diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 056bc3f6d5..b9a157127f 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1993,7 +1993,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); |