From a35d86361dbbf29c3b7da3a481c77c6a876ae8f4 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Mon, 16 Apr 2001 20:28:13 +0000 Subject: Added. 2001-04-16 Jon Trowbridge * backend/ebook/e-destination.c (e_destination_get_name): Added. * gui/component/select-names/e-select-names.c (real_add_address_cb): Use e_select_names_model_append. It's nicer. * gui/component/select-names/e-select-names-model.c (e_select_names_model_append): Added. * gui/component/select-names/e-select-names-completion.c (book_query_process_card_list): Filter out completion matches that don't have an associated e-mail address. (book_query_score): Give a bonus to the primary address, so that it always comes up first in the completion results. * gui/component/e-address-popup.c (e_address_popup_refresh_names): Convert utf8 strings into gtk strings before displaying. svn path=/trunk/; revision=9390 --- addressbook/gui/component/select-names/e-select-names.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'addressbook/gui/component/select-names/e-select-names.c') diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index 30dc482e85..b2468402c8 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -146,9 +146,7 @@ real_add_address_cb (int model_row, e_destination_set_card (dest, card, 0); - e_select_names_model_insert (child->source, - e_select_names_model_count (child->source), - dest); + e_select_names_model_append (child->source, dest); e_select_names_model_clean (child->source); gtk_object_unref(GTK_OBJECT(card)); -- cgit v1.2.3