aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@src.gnome.org>2005-01-11 05:22:54 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2005-01-11 05:22:54 +0800
commit5d798acd55f81e552953a58a8fc249f191e688f6 (patch)
treeecca1b859523df86116828158933fccae9f3f2a8
parent34225b40c48c083aeada8d0302ef6e3150bd6035 (diff)
downloadgsoc2013-evolution-5d798acd55f81e552953a58a8fc249f191e688f6.tar.gz
gsoc2013-evolution-5d798acd55f81e552953a58a8fc249f191e688f6.tar.zst
gsoc2013-evolution-5d798acd55f81e552953a58a8fc249f191e688f6.zip
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
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/cal-attachment-bar.c2
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);
}
}