aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/addressbook.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index e1eb92e9ad..c2a1f658d6 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -916,8 +916,7 @@ set_status_message (EABView *eav, const char *message, AddressbookView *view)
EActivityHandler *activity_handler = addressbook_component_peek_activity_handler (addressbook_component_peek ());
if (!message || !*message) {
- if (view->activity_id != 0)
- view->activity_id = 0;
+ view->activity_id = 0;
} else if (view->activity_id == 0) {
char *clientid = g_strdup_printf ("%p", view);