aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-11-18 21:06:33 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-18 21:06:33 +0800
commitff6be368c53aa208774242e507828bddce99b6cc (patch)
tree90a3ef8285fd4f85a4893061c34066467edd43aa /modules
parent327c54dbbc1645acda50b8c60019ec5fe5722711 (diff)
downloadgsoc2013-evolution-ff6be368c53aa208774242e507828bddce99b6cc.tar
gsoc2013-evolution-ff6be368c53aa208774242e507828bddce99b6cc.tar.gz
gsoc2013-evolution-ff6be368c53aa208774242e507828bddce99b6cc.tar.bz2
gsoc2013-evolution-ff6be368c53aa208774242e507828bddce99b6cc.tar.lz
gsoc2013-evolution-ff6be368c53aa208774242e507828bddce99b6cc.tar.xz
gsoc2013-evolution-ff6be368c53aa208774242e507828bddce99b6cc.tar.zst
gsoc2013-evolution-ff6be368c53aa208774242e507828bddce99b6cc.zip
Bug #602098 - No progress notification from GnomeCalendar
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c7
1 files changed, 5 insertions, 2 deletions
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
@@ -507,6 +507,11 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view)
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),
cal_shell_view);
@@ -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);