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-view.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ae3a14e345..780a72205b 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2001-10-05 Chris Toshok <toshok@ximian.com>
+
+ * gui/widgets/e-addressbook-view.c (e_addressbook_view_set_arg):
+ don't set the editable field on the model - let the book do that.
+ (book_writable_cb): call writable_status to propagate a ui-change
+ event up (and sensitize the write-only toolbar buttons after you
+ authenticate with ldap.)
+
2001-10-04 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (activate_factories_for_uri): for some
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 095f1dbf48..8c0bed0939 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -324,6 +324,7 @@ book_writable_cb (EBook *book, gboolean writable, EAddressbookView *eav)
gtk_object_set (GTK_OBJECT (eav->model),
"editable", eav->editable,
NULL);
+ writable_status (GTK_OBJECT(book), writable, eav);
}
static void
@@ -347,7 +348,6 @@ e_addressbook_view_set_arg (GtkObject *object, GtkArg *arg, guint arg_id)
eav->book = NULL;
gtk_object_set(GTK_OBJECT(eav->model),
"book", eav->book,
- "editable", eav->editable,
NULL);
break;