diff options
author | Harish Krishnaswamy <kharish@novell.com> | 2006-07-06 14:57:41 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2006-07-06 14:57:41 +0800 |
commit | cecd27f7b46f0970f0626254f909f3638b9219f8 (patch) | |
tree | a3a3a46de8e28dd4a82862fca99357793a36e91e /plugins/itip-formatter | |
parent | 6eeda23e0324228ae679af9f093ed92e0be3d674 (diff) | |
download | gsoc2013-evolution-cecd27f7b46f0970f0626254f909f3638b9219f8.tar gsoc2013-evolution-cecd27f7b46f0970f0626254f909f3638b9219f8.tar.gz gsoc2013-evolution-cecd27f7b46f0970f0626254f909f3638b9219f8.tar.bz2 gsoc2013-evolution-cecd27f7b46f0970f0626254f909f3638b9219f8.tar.lz gsoc2013-evolution-cecd27f7b46f0970f0626254f909f3638b9219f8.tar.xz gsoc2013-evolution-cecd27f7b46f0970f0626254f909f3638b9219f8.tar.zst gsoc2013-evolution-cecd27f7b46f0970f0626254f909f3638b9219f8.zip |
Handle ICAL_X methods from Microsoft Live as request methods.
2006-07-06 Harish Krishnaswamy <kharish@novell.com>
* itip-formatter.c: (format_itip_object):
Handle ICAL_X methods from Microsoft Live as
request methods.
svn path=/trunk/; revision=32239
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index e1aa2c2acc..c21aa01c87 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,9 @@ +2006-07-06 Harish Krishnaswamy <kharish@novell.com> + + * itip-formatter.c: (format_itip_object): + Handle ICAL_X methods from Microsoft Live as + request methods. + 2006-06-19 Harish Krishnaswamy <kharish@novell.com> * itip-formatter.c (update_item): diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 4e1df08b16..ee813f43b7 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1648,9 +1648,15 @@ format_itip_object (EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject case ICAL_METHOD_DECLINECOUNTER: itip_view_set_mode (ITIP_VIEW (pitip->view), ITIP_VIEW_MODE_DECLINECOUNTER); break; - default: - g_assert_not_reached (); + case ICAL_METHOD_X : + /* Handle appointment requests from Microsoft Live. This is + * a best-at-hand-now handling. Must be revisited when we have + * better access to the source of such meetings */ + pitip->method = ICAL_METHOD_REQUEST; + itip_view_set_mode (ITIP_VIEW (pitip->view), ITIP_VIEW_MODE_REQUEST); break; + default: + return FALSE; } itip_view_set_item_type (ITIP_VIEW (pitip->view), pitip->type); |