[evolution] ECalShellSidebar: Remove "loading" status message.



commit eac634e5149950675951c12d795a638f212914ea
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Feb 25 10:43:53 2013 -0500

    ECalShellSidebar: Remove "loading" status message.
    
    Emitting a "client-added" signal should not trigger any blocking calls,
    so the "loading" status message will flash by too quickly to be noticed,
    if it gets drawn at all.  Just remove it.

 modules/calendar/e-cal-shell-sidebar.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 544197e..ad5327f 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -833,7 +833,6 @@ e_cal_shell_sidebar_add_client (ECalShellSidebar *cal_shell_sidebar,
 {
        ESource *source;
        ESourceSelector *selector;
-       const gchar *message;
 
        g_return_if_fail (E_IS_CAL_SHELL_SIDEBAR (cal_shell_sidebar));
        g_return_if_fail (E_IS_CAL_CLIENT (client));
@@ -843,10 +842,7 @@ e_cal_shell_sidebar_add_client (ECalShellSidebar *cal_shell_sidebar,
        selector = e_cal_shell_sidebar_get_selector (cal_shell_sidebar);
        e_source_selector_select_source (selector, source);
 
-       message = _("Loading calendars");
-       cal_shell_sidebar_emit_status_message (cal_shell_sidebar, message);
        cal_shell_sidebar_emit_client_added (cal_shell_sidebar, client);
-       cal_shell_sidebar_emit_status_message (cal_shell_sidebar, NULL);
 }
 
 void


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