aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.c14
2 files changed, 16 insertions, 6 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 71f20a54fc..b9bd0c8da8 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2004-02-19 Hans Petter Jansson <hpj@ximian.com>
+
+ Fixes #45308 and duplicates.
+
+ * gui/widgets/e-addressbook-model.c (eab_model_set_property): Store
+ the IDs of book signals connected to, so we can disconnect from them
+ later.
+
2004-02-18 Hao Sheng <hao.sheng@sun.com>
[ fixes bug #52765 ]
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c
index 69a612234e..ed698e3340 100644
--- a/addressbook/gui/widgets/e-addressbook-model.c
+++ b/addressbook/gui/widgets/e-addressbook-model.c
@@ -559,12 +559,14 @@ eab_model_set_property (GObject *object, guint prop_id, const GValue *value, GPa
model->first_get_view = TRUE;
g_object_ref (model->book);
get_view (model);
- g_signal_connect (model->book,
- "writable_status",
- G_CALLBACK (writable_status), model);
- g_signal_connect (model->book,
- "backend_died",
- G_CALLBACK (backend_died), model);
+ model->writable_status_id =
+ g_signal_connect (model->book,
+ "writable_status",
+ G_CALLBACK (writable_status), model);
+ model->backend_died_id =
+ g_signal_connect (model->book,
+ "backend_died",
+ G_CALLBACK (backend_died), model);
}
break;
case PROP_QUERY: