fix for the bug #330677 [calendar]
pchenthill <[email protected]>
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
Hi, Have attached the fix for the bug. thanks, Chenthill. _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
330677.diff
(text/x-patch, 2.7 KB)
Index: ChangeLog =================================================================== RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v retrieving revision 1.2999 diff -u -p -r1.2999 ChangeLog --- ChangeLog 15 Feb 2006 06:40:20 -0000 1.2999 +++ ChangeLog 23 Feb 2006 11:35:14 -0000 @@ -1,3 +1,11 @@ +2006-02-23 Chenthill Palanisamy <[email protected]> + + Fixes #330677 + * gui/itip-utils.c: + (comp_content_type): Removed the content setting as text/plain. + (itip_send_comp): Changed the reply all to FALSE. + (reply_to_calendar_comp): Set the content type as text/plain. + 2006-02-15 Rajeev ramanathan <[email protected]> * gui/dialogs/memo-page.glade: Changed the layout spacing of memo Index: gui/itip-utils.c =================================================================== RCS file: /cvs/gnome/evolution/calendar/gui/itip-utils.c,v retrieving revision 1.111 diff -u -p -r1.111 itip-utils.c --- gui/itip-utils.c 8 Feb 2006 13:06:02 -0000 1.111 +++ gui/itip-utils.c 23 Feb 2006 11:35:14 -0000 @@ -723,12 +723,9 @@ comp_content_type (ECalComponent *comp, { char tmp[256]; - if (method == E_CAL_COMPONENT_METHOD_REPLY) { - sprintf (tmp, "text/plain"); - } else - sprintf (tmp, "text/calendar; name=\"%s\"; charset=utf-8; METHOD=%s", - e_cal_component_get_vtype (comp) == E_CAL_COMPONENT_FREEBUSY ? - "freebusy.ifb" : "calendar.ics", itip_methods[method]); + sprintf (tmp, "text/calendar; name=\"%s\"; charset=utf-8; METHOD=%s", + e_cal_component_get_vtype (comp) == E_CAL_COMPONENT_FREEBUSY ? + "freebusy.ifb" : "calendar.ics", itip_methods[method]); return CORBA_string_dup (tmp); @@ -1182,7 +1179,7 @@ itip_send_comp (ECalComponentItipMethod goto cleanup; /* Recipients */ - to_list = comp_to_list (method, comp, users, TRUE); + to_list = comp_to_list (method, comp, users, FALSE); if (method != E_CAL_COMPONENT_METHOD_PUBLISH) { if (to_list == NULL || to_list->_length == 0) { /* We sent them all via the server */ @@ -1336,6 +1333,7 @@ reply_to_calendar_comp (ECalComponentIti GNOME_Evolution_Composer_RecipientList *cc_list = NULL; GNOME_Evolution_Composer_RecipientList *bcc_list = NULL; CORBA_char *subject = NULL, *content_type = NULL; + char tmp [256]; CORBA_char *from = NULL; char *ical_string; CORBA_Environment ev; @@ -1388,7 +1386,8 @@ reply_to_calendar_comp (ECalComponentIti /* Content type */ - content_type = comp_content_type (comp, method); + sprintf (tmp, "text/plain"); + content_type = CORBA_string_dup (tmp); top_level = comp_toplevel_with_zones (method, comp, client, zones); ical_string = icalcomponent_as_ical_string (top_level);