From 1a527fb13ad56f9c5b1a4550bfff4e1c7373bcff Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 17 Dec 2008 10:11:31 +0000 Subject: [PATCH] Fixes NB#96025, enable multiselection in selectcontact dialog pmo-trunk-r6893 --- src/hildon2/modest-address-book.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hildon2/modest-address-book.c b/src/hildon2/modest-address-book.c index 8ad0df8..6406bc4 100644 --- a/src/hildon2/modest-address-book.c +++ b/src/hildon2/modest-address-book.c @@ -206,6 +206,9 @@ modest_address_book_select_addresses (ModestRecptEditor *recpt_editor) _("mcen_me_editor_selectrecipients"), OSSO_ABOOK_CAPS_EMAIL, OSSO_ABOOK_CONTACT_ORDER_NAME); + /* Enable multiselection */ + osso_abook_contact_chooser_set_maximum_selection (OSSO_ABOOK_CONTACT_CHOOSER (contact_chooser), + G_MAXUINT); if (gtk_dialog_run (GTK_DIALOG (contact_chooser)) == GTK_RESPONSE_OK) contacts_list = osso_abook_contact_chooser_get_selection (OSSO_ABOOK_CONTACT_CHOOSER (contact_chooser)); @@ -898,6 +901,7 @@ select_contacts_for_name_dialog (const gchar *name) _("mcen_me_editor_selectrecipients"), OSSO_ABOOK_CAPS_EMAIL, OSSO_ABOOK_CONTACT_ORDER_NAME); + osso_abook_contact_chooser_set_model (OSSO_ABOOK_CONTACT_CHOOSER (contact_dialog), contact_model); -- 1.7.9.5