[evolution] Remove "Unknown background operation" generic job description message



commit af02ba8aef9f66569eb7740de5f2b51e0a14202b
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 6 09:13:33 2015 +0100

    Remove "Unknown background operation" generic job description message
    
    Camel identifies the jobs from the very beginning now, thus this
    generic message is not needed anymore.

 mail/e-mail-backend.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 91d9262..ea2ec3b 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -848,12 +848,6 @@ mail_backend_job_started_cb (CamelSession *session,
 
        priv = E_MAIL_BACKEND_GET_PRIVATE (shell_backend);
 
-       /* Make sure this operation shows up in the user interface.
-        * This message should get overridden, if not it's a bug in
-        * whatever CamelService submitted this. */
-       camel_operation_push_message (
-               cancellable, _("Unknown background operation"));
-
        activity = e_activity_new ();
        e_activity_set_cancellable (activity, cancellable);
        e_shell_backend_add_activity (shell_backend, activity);
@@ -876,9 +870,6 @@ mail_backend_job_finished_cb (CamelSession *session,
        priv = E_MAIL_BACKEND_GET_PRIVATE (shell_backend);
        class = E_SHELL_BACKEND_GET_CLASS (shell_backend);
 
-       /* Pop the generic "background operation" message. */
-       camel_operation_pop_message (cancellable);
-
        activity = g_hash_table_lookup (priv->jobs, cancellable);
        description = e_activity_get_text (activity);
 


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