diff options
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/dialogs/cal-attachment-bar.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 205bba916e..c1e1047863 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2005-01-10 Harish Krishnaswamy <kharish@novell.com> + + * gui/dialogs/cal-attachment-bar.c: + (cal_attachment_bar_set_attachment_list): + offset the file name to account for the 'hyphen'. + 2005-01-10 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/event-page.glade diff --git a/calendar/gui/dialogs/cal-attachment-bar.c b/calendar/gui/dialogs/cal-attachment-bar.c index 2dea375a87..4cf24e22f0 100644 --- a/calendar/gui/dialogs/cal-attachment-bar.c +++ b/calendar/gui/dialogs/cal-attachment-bar.c @@ -871,7 +871,7 @@ cal_attachment_bar_set_attachment_list (CalAttachmentBar *bar, GSList *attach_li priv->num_attachments-1); camel_mime_part_set_filename (attach->body, attach_filename + strlen (priv->local_attachment_store)+ - strlen (priv->comp_uid) + 1); + strlen (priv->comp_uid) + 2); update (bar); } } |