diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index a04263a148..34c1ef772d 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +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. + 2005-01-06 JP Rosevear <jpr@novell.com> * gui/component/Makefile.am: install schemas properly 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); } |