[evolution-data-server] IMAPX: Fix error message when moving with UID MOVE.



commit 53f9c87c5acea593b61303120c68f5096de416af
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed May 8 13:37:54 2013 -0400

    IMAPX: Fix error message when moving with UID MOVE.
    
    Separate commit since this introduces a new translatable string.

 camel/camel-imapx-server.c |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index cfc0446..2a98153 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -4649,9 +4649,14 @@ imapx_command_copy_messages_step_done (CamelIMAPXServer *is,
        i = data->index;
 
        if (camel_imapx_command_set_error_if_failed (ic, error)) {
-               g_prefix_error (
-                       error, "%s: ",
-                       _("Error copying messages"));
+               if (data->use_move_command)
+                       g_prefix_error (
+                               error, "%s: ",
+                               _("Error moving messages"));
+               else
+                       g_prefix_error (
+                               error, "%s: ",
+                               _("Error copying messages"));
                success = FALSE;
                goto exit;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]