Don't warn the user if the source and destination folders are the same.

2001-10-29  Jeffrey Stedfast  <fejj@ximian.com>

	* 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
This commit is contained in:
Jeffrey Stedfast
2001-10-30 03:25:51 +00:00
committed by Jeffrey Stedfast
parent 2a5e8cb179
commit 2e6dc6d43f
3 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-10-29 Jeffrey Stedfast <fejj@ximian.com>
* 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 <danw@ximian.com>
* mail-format.c (handle_multipart_signed): add some debug spew re

View File

@ -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)) {

View File

@ -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;
}