From 89dc17247f41b4d82f4a973fa6f4a8358cd0f42c Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 2 Dec 2003 05:22:35 +0000 Subject: (set_status_message): Call e_activity_handler_operation_finished() on the current activity ID when done. svn path=/trunk/; revision=23564 --- addressbook/gui/component/addressbook.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/component') diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index c2a1f658d6..98afc9cb9b 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -916,7 +916,10 @@ set_status_message (EABView *eav, const char *message, AddressbookView *view) EActivityHandler *activity_handler = addressbook_component_peek_activity_handler (addressbook_component_peek ()); if (!message || !*message) { - view->activity_id = 0; + if (view->activity_id != 0) { + e_activity_handler_operation_finished (activity_handler, view->activity_id); + view->activity_id = 0; + } } else if (view->activity_id == 0) { char *clientid = g_strdup_printf ("%p", view); -- cgit