From 76563caf3d43463d727028ea43a7d95acb196e80 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 5 Oct 2001 18:53:56 +0000 Subject: don't set the editable field on the model - let the book do that. 2001-10-05 Chris Toshok * 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.) svn path=/trunk/; revision=13454 --- addressbook/gui/widgets/e-addressbook-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/widgets') 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; -- cgit v1.2.3