diff options
author | Chris Toshok <toshok@ximian.com> | 2001-10-06 02:53:56 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-10-06 02:53:56 +0800 |
commit | 76563caf3d43463d727028ea43a7d95acb196e80 (patch) | |
tree | c9d41a694d3a290b45198cd04c12aa506119e2d1 | |
parent | 796292fb21af04117f0f84e161a9588fc528d939 (diff) | |
download | gsoc2013-evolution-76563caf3d43463d727028ea43a7d95acb196e80.tar gsoc2013-evolution-76563caf3d43463d727028ea43a7d95acb196e80.tar.gz gsoc2013-evolution-76563caf3d43463d727028ea43a7d95acb196e80.tar.bz2 gsoc2013-evolution-76563caf3d43463d727028ea43a7d95acb196e80.tar.lz gsoc2013-evolution-76563caf3d43463d727028ea43a7d95acb196e80.tar.xz gsoc2013-evolution-76563caf3d43463d727028ea43a7d95acb196e80.tar.zst gsoc2013-evolution-76563caf3d43463d727028ea43a7d95acb196e80.zip |
don't set the editable field on the model - let the book do that.
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.)
svn path=/trunk/; revision=13454
-rw-r--r-- | addressbook/ChangeLog | 8 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 2 |
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; |