From 15d5457481f21aa41928dc22377ca1d37618b3a6 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 22 Jun 2004 02:17:58 +0000 Subject: revert this change. svn path=/trunk/; revision=26450 --- addressbook/ChangeLog | 8 -------- .../gui/component/select-names/e-select-names-completion.c | 13 +------------ 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 50a22aa6a4..5152aa4603 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,11 +1,3 @@ -2004-06-21 Chris Toshok - - * gui/component/select-names/e-select-names-completion.c - (e_select_names_completion_start_query): make completion respect - your download limit for a given source. speeds up completion - substantially (or rather, speeds up switching of queries) when the - ldap server has tons of entries. - 2004-06-21 Federico Mena Quintero * gui/contact-editor/contact-editor.glade: Make the scrolled diff --git a/addressbook/gui/component/select-names/e-select-names-completion.c b/addressbook/gui/component/select-names/e-select-names-completion.c index 108de1be46..2bf0341e40 100644 --- a/addressbook/gui/component/select-names/e-select-names-completion.c +++ b/addressbook/gui/component/select-names/e-select-names-completion.c @@ -1006,23 +1006,12 @@ e_select_names_completion_start_query (ESelectNamesCompletion *comp, const gchar book_query_process_card_list (comp, book_data->cached_cards); } else { - ESource *source; - int limit; - const char *str; - e_select_names_completion_clear_cache (book_data); book_data->cached_query_text = g_strdup (query_text); - source = e_book_get_source (book_data->book); - str = e_source_get_property (source, "limit"); - if (str) - limit = atoi (str); - else - limit = -1; - book_data->book_view_tag = e_book_async_get_book_view (book_data->book, query, - NULL, limit, + NULL, -1, e_select_names_completion_got_book_view_cb, book_data); comp->priv->pending_completion_seq++; } -- cgit