From 5d798acd55f81e552953a58a8fc249f191e688f6 Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Mon, 10 Jan 2005 21:22:54 +0000 Subject: offset the file name to account for the 'hyphen'. * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_set_attachment_list): offset the file name to account for the 'hyphen'. svn path=/trunk/; revision=28337 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/cal-attachment-bar.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 * 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); } } -- cgit v1.2.3