aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-12-02 13:22:35 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-12-02 13:22:35 +0800
commit89dc17247f41b4d82f4a973fa6f4a8358cd0f42c (patch)
tree42e1d116ca1e6fdc03bba4b35b88d148249c1756
parent46545a0a7f8563a35902e090e00d193b1fc46ea7 (diff)
downloadgsoc2013-evolution-89dc17247f41b4d82f4a973fa6f4a8358cd0f42c.tar
gsoc2013-evolution-89dc17247f41b4d82f4a973fa6f4a8358cd0f42c.tar.gz
gsoc2013-evolution-89dc17247f41b4d82f4a973fa6f4a8358cd0f42c.tar.bz2
gsoc2013-evolution-89dc17247f41b4d82f4a973fa6f4a8358cd0f42c.tar.lz
gsoc2013-evolution-89dc17247f41b4d82f4a973fa6f4a8358cd0f42c.tar.xz
gsoc2013-evolution-89dc17247f41b4d82f4a973fa6f4a8358cd0f42c.tar.zst
gsoc2013-evolution-89dc17247f41b4d82f4a973fa6f4a8358cd0f42c.zip
(set_status_message): Call
e_activity_handler_operation_finished() on the current activity ID when done. svn path=/trunk/; revision=23564
-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);