[evolution-patches] 69556 - crash on attaching mime part
- From: Harish Krishnaswamy <kharish novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] 69556 - crash on attaching mime part
- Date: Tue, 01 Mar 2005 00:18:40 +0530
hi,
the attached patch fixes the crash on attaching a mime part (mail) to
a calendar event.
thanks,
harish
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2677
diff -u -p -r1.2677 ChangeLog
--- ChangeLog 28 Feb 2005 16:58:37 -0000 1.2677
+++ ChangeLog 28 Feb 2005 18:01:36 -0000
@@ -1,3 +1,10 @@
+2005-02-28 Harish Krishnaswamy <kharish novell com>
+
+ Fixes #69556
+ * gui/dialogs/cal-attachment-bar.c:
+ (cal_attachment_bar_attach_mime_part): Add missing call to
+ attach_mime_part.
+
2005-02-28 Chenthill Palanisamy <pchenthill novell com>
* gui/dialogs/comp-editor.c: (attachment_bar_icon_clicked_cb),
Index: gui/dialogs/cal-attachment-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/cal-attachment-bar.c,v
retrieving revision 1.8
diff -u -p -r1.8 cal-attachment-bar.c
--- gui/dialogs/cal-attachment-bar.c 5 Feb 2005 06:31:01 -0000 1.8
+++ gui/dialogs/cal-attachment-bar.c 28 Feb 2005 18:01:36 -0000
@@ -756,6 +756,15 @@ cal_attachment_bar_get_num_attachments (
}
void
+cal_attachment_bar_attach_mime_part (CalAttachmentBar *bar,
+ CamelMimePart *part)
+{
+ g_return_if_fail (E_IS_CAL_ATTACHMENT_BAR (bar));
+
+ add_from_mime_part (bar, part);
+}
+
+void
cal_attachment_bar_attach (CalAttachmentBar *bar,
const gchar *file_name)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]