aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook.c5
2 files changed, 10 insertions, 1 deletions
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 <ettore@ximian.com>
+
+ * 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 <ettore@ximian.com>
* 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);