diff options
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 2 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-text-model.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 1208923d35..0679f68598 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -105,7 +105,7 @@ supported_fields_cb (EBook *book, EBookStatus status, EList *fields, gpointer cl card = e_card_new(""); - ce = e_contact_editor_new (card, TRUE, fields); + ce = e_contact_editor_new (card, TRUE, fields, FALSE); gtk_signal_connect (GTK_OBJECT (ce), "add_card", GTK_SIGNAL_FUNC (add_card_cb), book); diff --git a/addressbook/gui/component/select-names/e-select-names-text-model.c b/addressbook/gui/component/select-names/e-select-names-text-model.c index 0e4d5eeb32..1a1bd06b60 100644 --- a/addressbook/gui/component/select-names/e-select-names-text-model.c +++ b/addressbook/gui/component/select-names/e-select-names-text-model.c @@ -712,7 +712,8 @@ e_select_names_text_model_activate_obj (ETextModel *model, gint n) card = e_select_names_model_get_card (source, i); g_return_if_fail (card); - contact_editor = e_contact_editor_new ((ECard *) card, FALSE, NULL); + /* present read-only contact editor when someone double clicks from here */ + contact_editor = e_contact_editor_new ((ECard *) card, FALSE, NULL, TRUE); e_contact_editor_raise (contact_editor); } |