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:
committed by
Jeffrey Stedfast
parent
2a5e8cb179
commit
2e6dc6d43f
@ -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
|
||||
|
||||
@ -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)) {
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user