aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/pas-backend-file.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-08-20 06:34:25 +0800
committerChris Toshok <toshok@src.gnome.org>2002-08-20 06:34:25 +0800
commit78305f0bea5f65fb18b6e185e399465806c68b2a (patch)
tree63acc788193fd79e3761548b2982b0a5bc205446 /addressbook/backend/pas/pas-backend-file.c
parent1c97f91cc4acd3b33f78740892726507211215f5 (diff)
downloadgsoc2013-evolution-78305f0bea5f65fb18b6e185e399465806c68b2a.tar
gsoc2013-evolution-78305f0bea5f65fb18b6e185e399465806c68b2a.tar.gz
gsoc2013-evolution-78305f0bea5f65fb18b6e185e399465806c68b2a.tar.bz2
gsoc2013-evolution-78305f0bea5f65fb18b6e185e399465806c68b2a.tar.lz
gsoc2013-evolution-78305f0bea5f65fb18b6e185e399465806c68b2a.tar.xz
gsoc2013-evolution-78305f0bea5f65fb18b6e185e399465806c68b2a.tar.zst
gsoc2013-evolution-78305f0bea5f65fb18b6e185e399465806c68b2a.zip
add "cache-completions" here, since file completion results are blanket
2002-08-19 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_get_static_capabilities): add "cache-completions" here, since file completion results are blanket cached (as they're generated from a summary). * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_get_cursor): there should be no search limit on the get_cursor_request, as it's meant to match every card it can. (ldap_search_handler): parse the ldap result in the RES_SEARCH_RESULT case. we'll want more here soon, so we can notify the front end if the result was truncated due to either the size or time limit being exceeded. (pas_backend_ldap_process_get_book_view): in the case of a completion view, we hardcode (yeah yeah, i know, but really) the search limit to MIN (100, user-specified-limit). (pas_backend_ldap_search): each view has its own limit now, defaulting from the user specified one for normal searches but possibly different for completion views. use the view's limit here. svn path=/trunk/; revision=17811
Diffstat (limited to 'addressbook/backend/pas/pas-backend-file.c')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index c0d03d6b5d..fe14be3f07 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -1584,7 +1584,7 @@ pas_backend_file_remove_client (PASBackend *backend,
static char *
pas_backend_file_get_static_capabilities (PASBackend *backend)
{
- return g_strdup("local,do-initial-query");
+ return g_strdup("local,do-initial-query,cache-completions");
}
static gboolean