aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index fac9723923..fcf4dd3f7c 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -517,7 +517,7 @@ addressbook_view_dispose (GObject *object)
if (priv->activity != NULL) {
/* XXX Activity is not cancellable. */
- e_activity_complete (priv->activity);
+ e_activity_set_state (priv->activity, E_ACTIVITY_COMPLETED);
g_object_unref (priv->activity);
priv->activity = NULL;
}
@@ -1075,7 +1075,7 @@ status_message (EAddressbookView *view,
if (status == NULL || *status == '\0') {
if (activity != NULL) {
- e_activity_complete (activity);
+ e_activity_set_state (activity, E_ACTIVITY_COMPLETED);
g_object_unref (activity);
view->priv->activity = NULL;
}
@@ -1083,11 +1083,11 @@ status_message (EAddressbookView *view,
} else if (activity == NULL) {
activity = e_activity_new ();
view->priv->activity = activity;
- e_activity_set_primary_text (activity, status);
+ e_activity_set_text (activity, status);
e_shell_backend_add_activity (shell_backend, activity);
} else
- e_activity_set_primary_text (activity, status);
+ e_activity_set_text (activity, status);
}
static void