aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-10-06 02:53:56 +0800
committerChris Toshok <toshok@src.gnome.org>2001-10-06 02:53:56 +0800
commit76563caf3d43463d727028ea43a7d95acb196e80 (patch)
treec9d41a694d3a290b45198cd04c12aa506119e2d1 /addressbook/gui/widgets
parent796292fb21af04117f0f84e161a9588fc528d939 (diff)
downloadgsoc2013-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
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c2
1 files changed, 1 insertions, 1 deletions
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;