aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-view-private.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.c')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index 29c7d1e528..2dd1fdc3bb 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -705,21 +705,24 @@ e_cal_shell_view_private_dispose (ECalShellView *cal_shell_view)
if (priv->calendar_activity != NULL) {
/* XXX Activity is not cancellable. */
- e_activity_complete (priv->calendar_activity);
+ e_activity_set_state (
+ priv->calendar_activity, E_ACTIVITY_COMPLETED);
g_object_unref (priv->calendar_activity);
priv->calendar_activity = NULL;
}
if (priv->memopad_activity != NULL) {
/* XXX Activity is not cancellable. */
- e_activity_complete (priv->memopad_activity);
+ e_activity_set_state (
+ priv->memopad_activity, E_ACTIVITY_COMPLETED);
g_object_unref (priv->memopad_activity);
priv->memopad_activity = NULL;
}
if (priv->taskpad_activity != NULL) {
/* XXX Activity is not cancellable. */
- e_activity_complete (priv->taskpad_activity);
+ e_activity_set_state (
+ priv->taskpad_activity, E_ACTIVITY_COMPLETED);
g_object_unref (priv->taskpad_activity);
priv->taskpad_activity = NULL;
}
@@ -808,18 +811,18 @@ e_cal_shell_view_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;
}
} 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->calendar_activity = activity;
ome-3.24&id=4b4e284db91e4941e6335d422fb5e0b9a1479ff6'>Update to 0.11.2krion2006-12-103-6/+4 * Update to 0.11.0krion2006-10-312-5/+4 * Update to 0.11.0rc3-20060823krion2006-08-243-6/+9 * Utilize USE_SQLITE.krion2006-08-171-1/+1 * Update to 0.11.0rc1krion2006-07-222-4/+5 * Update to 0.10.3krion2006-07-012-4/+4 * Update to 0.10.2krion2006-05-192-4/+4 * Fix WWW line.krion2006-04-231-1/+1 * Update to 0.10.1krion2006-04-222-6/+5 * Update to 0.10.0krion2006-03-232-4/+4 * Update to 0.10.0rc3krion2006-03-162-5/+4 * Update to 0.10.0rc2 version.krion2006-02-202-5/+5 * Update to 0.9.6krion2005-12-282-4/+4 * Update to 0.9.5krion2005-12-103-5/+14 * Update to 0.9.4p1krion2005-11-192-4/+5 * Update to 0.9.4krion2005-11-102-3/+4 * Update to 0.9.3krion2005-10-122-3/+3 * Update to 0.9.2krion2005-09-192-3/+7 * Update to 0.9.1krion2005-08-282-3/+3 * Update to 0.9.0krion2005-07-273-3/+4 * Update to 0.8.8krion2005-07-182-3/+3 * Update to 0.8.7krion2005-06-152-3/+3 * Fix OPTIONS logic.krion2005-06-151-6/+6 * Update to 0.8.6krion2005-05-272-10/+25 * Update to 0.8.5krion2005-05-122-3/+3 * Update to 0.8.4krion2005-04-172-3/+3 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * Update to 0.8.3krion2005-04-022-3/+3 * Update to version 0.8.2krion2005-03-092-3/+3 * Define WITHOUT_MMAP since it's enabled by default.krion2005-02-031-2/+2 * Split the postgresql ports into a server and a client part.girgen2005-01-311-1/+1 * Update to 0.8.1krion2005-01-262-3/+3 * Update to 0.8.0krion2005-01-132-4/+4 * Update to 0.7.9krion2004-12-213-6/+6 * Update COMMENT.krion2004-12-151-1/+1 * Update to 0.7.8krion2004-12-032-3/+3 * Update to 0.7.7krion2004-11-163-4/+4 * Update to 0.7.6krion2004-11-073-5/+8 * Update to 0.7.5krion2004-10-153-3/+4 * Update to 0.7.4krion2004-10-122-3/+3 * Update to 0.7.3krion2004-08-312-5/+3 * Update to 0.7.2p1krion2004-08-192-3/+5