diff options
Diffstat (limited to 'modules/calendar/e-cal-shell-view-taskpad.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-taskpad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-view-taskpad.c b/modules/calendar/e-cal-shell-view-taskpad.c index b1eb390616..6dae14465d 100644 --- a/modules/calendar/e-cal-shell-view-taskpad.c +++ b/modules/calendar/e-cal-shell-view-taskpad.c @@ -556,7 +556,7 @@ e_cal_shell_view_taskpad_set_status_message (ECalShellView *cal_shell_view, if (status_message == NULL || *status_message == '\0') { if (activity != NULL) { - e_activity_complete (activity); + e_activity_set_state (activity, E_ACTIVITY_COMPLETED); g_object_unref (activity); activity = NULL; } @@ -564,12 +564,12 @@ e_cal_shell_view_taskpad_set_status_message (ECalShellView *cal_shell_view, } else if (activity == NULL) { activity = e_activity_new (); e_activity_set_percent (activity, percent); - e_activity_set_primary_text (activity, status_message); + e_activity_set_text (activity, status_message); e_shell_backend_add_activity (shell_backend, activity); } else { e_activity_set_percent (activity, percent); - e_activity_set_primary_text (activity, status_message); + e_activity_set_text (activity, status_message); } cal_shell_view->priv->taskpad_activity = activity; |