From ff6be368c53aa208774242e507828bddce99b6cc Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 18 Nov 2009 14:06:33 +0100 Subject: Bug #602098 - No progress notification from GnomeCalendar --- modules/calendar/e-cal-shell-view-private.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index a2fa491cc3..ddee1d9544 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -506,6 +506,11 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view) G_CALLBACK (e_cal_shell_view_update_sidebar), cal_shell_view); + g_signal_connect_swapped ( + model, "status-message", + G_CALLBACK (e_cal_shell_view_set_status_message), + cal_shell_view); + g_signal_connect_swapped ( model, "notify::timezone", G_CALLBACK (e_cal_shell_view_update_timezone), @@ -707,12 +712,10 @@ e_cal_shell_view_set_status_message (ECalShellView *cal_shell_view, g_object_unref (activity); activity = NULL; } - } else if (activity == NULL) { activity = e_activity_new (status_message); e_activity_set_percent (activity, percent); e_shell_backend_add_activity (shell_backend, activity); - } else { e_activity_set_percent (activity, percent); e_activity_set_primary_text (activity, status_message); -- cgit v1.2.3