From fe79dcc93b90acb2dbfb26bde35edcadb48b971c Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Sat, 5 Feb 2005 06:31:01 +0000 Subject: fix the dnd woes on calendar attachments. gui/dialogs/cal-attachment-bar.c * gui/dialogs/comp-editor.c (attach_message), (drop_action), (drop_popup_copy), (drop_popup_move), (drop_popup_cancel), (drop_popup_free), (drag_data_received), (drag_motion), (comp_editor_class_init), (comp_editor_init), (real_edit_comp): fix the dnd woes on calendar attachments. * gui/dialogs/cal-attachment-bar.c * (add_from_file): reuse mail composer's error message. svn path=/trunk/; revision=28716 --- calendar/gui/dialogs/cal-attachment-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/gui/dialogs/cal-attachment-bar.c b/calendar/gui/dialogs/cal-attachment-bar.c index c816026820..68ecdd8c0a 100644 --- a/calendar/gui/dialogs/cal-attachment-bar.c +++ b/calendar/gui/dialogs/cal-attachment-bar.c @@ -180,7 +180,7 @@ add_from_file (CalAttachmentBar *bar, if (attachment) { add_common (bar, attachment); } else { - e_error_run((GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)bar), "event-editor:no-attach", + e_error_run((GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)bar), "mail-composer:no-attach", file_name, camel_exception_get_description(&ex), NULL); camel_exception_clear (&ex); } -- cgit