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/ChangeLog | 6 ++++++ addressbook/gui/component/addressbook.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index da9e784c97..bec2937d7b 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2003-12-02 Ettore Perazzoli + + * gui/component/addressbook.c (set_status_message): Call + e_activity_handler_operation_finished() on the current activity ID + when done. + 2003-12-01 Ettore Perazzoli * gui/component/addressbook.c (struct AddressbookView): Replace 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