aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@novell.com>2005-01-10 15:31:06 +0800
committerHans Petter <hansp@src.gnome.org>2005-01-10 15:31:06 +0800
commitd7cc0a890b132037a2e5293c153d17f172480135 (patch)
tree21e0bfed45ab3418fb96523e9125c57001d44f54 /addressbook/gui
parentc3964095b3c7e51e618eda80ee3029dd3233c76d (diff)
downloadgsoc2013-evolution-d7cc0a890b132037a2e5293c153d17f172480135.tar.gz
gsoc2013-evolution-d7cc0a890b132037a2e5293c153d17f172480135.tar.zst
gsoc2013-evolution-d7cc0a890b132037a2e5293c153d17f172480135.zip
When spawning an editor, set the initial editability from the target book,
2005-01-10 Hans Petter Jansson <hpj@novell.com> * gui/widgets/e-minicard.c (e_minicard_activate_editor): When spawning an editor, set the initial editability from the target book, not from the minicard's own (usually stale, useless) editable state. svn path=/trunk/; revision=28308
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-minicard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index be827c89be..0abdff7fce 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -549,12 +549,12 @@ e_minicard_activate_editor(EMinicard *minicard)
if (book != NULL) {
if (e_contact_get (minicard->contact, E_CONTACT_IS_LIST)) {
EContactListEditor *editor = eab_show_contact_list_editor (book, minicard->contact,
- FALSE, minicard->editable);
+ FALSE, e_book_is_writable (book));
minicard->editor = EAB_EDITOR (editor);
}
else {
EContactEditor *editor = eab_show_contact_editor (book, minicard->contact,
- FALSE, minicard->editable);
+ FALSE, e_book_is_writable (book));
minicard->editor = EAB_EDITOR (editor);
}