aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-30 11:25:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-30 11:25:51 +0800
commit2e6dc6d43f6483377fc9c18a7c19c9b7cb736e15 (patch)
tree5e1dfb3c155837d77d583a41291b14bc5daa28af
parent2a5e8cb1796782940d84a3928d69d6bad41a33ca (diff)
downloadgsoc2013-evolution-2e6dc6d43f6483377fc9c18a7c19c9b7cb736e15.tar.gz
gsoc2013-evolution-2e6dc6d43f6483377fc9c18a7c19c9b7cb736e15.tar.zst
gsoc2013-evolution-2e6dc6d43f6483377fc9c18a7c19c9b7cb736e15.zip
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
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c2
-rw-r--r--mail/mail-ops.c4
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 <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
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;
}