From 2e6dc6d43f6483377fc9c18a7c19c9b7cb736e15 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 30 Oct 2001 03:25:51 +0000 Subject: Don't warn the user if the source and destination folders are the same. 2001-10-29 Jeffrey Stedfast * mail-ops.c (transfer_messages_transfer): Don't warn the user if the source and destination folders are the same. svn path=/trunk/; revision=14410 --- mail/ChangeLog | 5 +++++ mail/folder-browser.c | 2 +- mail/mail-ops.c | 4 +--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index d6fe01ab3f..cded203cb9 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-10-29 Jeffrey Stedfast + + * mail-ops.c (transfer_messages_transfer): Don't warn the user if + the source and destination folders are the same. + 2001-10-29 Dan Winship * mail-format.c (handle_multipart_signed): add some debug spew re diff --git a/mail/folder-browser.c b/mail/folder-browser.c index ceb8532978..7fefb4869a 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -690,7 +690,7 @@ folder_browser_copy (GtkWidget *menuitem, FolderBrowser *fb) if (fb->message_list == NULL) return; - + cut = menuitem == NULL; if (GTK_WIDGET_HAS_FOCUS (fb->mail_display->html)) { diff --git a/mail/mail-ops.c b/mail/mail-ops.c index ad3b62f14b..9f5b3235bb 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -888,9 +888,7 @@ transfer_messages_transfer (struct _mail_msg *mm) if (dest == m->source) { camel_object_unref((CamelObject *)dest); - camel_exception_setv(&mm->ex, CAMEL_EXCEPTION_FOLDER_INVALID, - _("Cannot copy a folder `%s' to itself"), - m->dest_uri); + /* no-op */ return; } -- cgit v1.2.3