aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-08-16 15:54:16 +0800
committerChris Toshok <toshok@src.gnome.org>2002-08-16 15:54:16 +0800
commiteb8729cefab967a133f53409a9a3622e849e6e73 (patch)
tree764550b1e8fde0ccd47ea42329ac40562060ac0c /addressbook/gui/widgets
parentaeffbd926fca4de1456078135a5ff6ba898cbcd7 (diff)
downloadgsoc2013-evolution-eb8729cefab967a133f53409a9a3622e849e6e73.tar
gsoc2013-evolution-eb8729cefab967a133f53409a9a3622e849e6e73.tar.gz
gsoc2013-evolution-eb8729cefab967a133f53409a9a3622e849e6e73.tar.bz2
gsoc2013-evolution-eb8729cefab967a133f53409a9a3622e849e6e73.tar.lz
gsoc2013-evolution-eb8729cefab967a133f53409a9a3622e849e6e73.tar.xz
gsoc2013-evolution-eb8729cefab967a133f53409a9a3622e849e6e73.tar.zst
gsoc2013-evolution-eb8729cefab967a133f53409a9a3622e849e6e73.zip
[ fix 27333 ] "local" -> "do-initial-query".
2002-08-16 Chris Toshok <toshok@ximian.com> [ fix 27333 ] * gui/widgets/e-addressbook-model.c (get_view): "local" -> "do-initial-query". * backend/pas/pas-backend-file.c (pas_backend_file_get_static_capabilities): "local" -> "local,do-initial-query". * gui/widgets/e-addressbook-model.c (get_view): "local" -> "do-initial-query". * gui/component/addressbook.c (book_open_cb): Only assume the addressbook is local if "local" appears in its static capabilities. We still use the ldap special case, but be nicer to other networked backends. svn path=/trunk/; revision=17782
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c
index 5647e1d88e..aadd5f049f 100644
--- a/addressbook/gui/widgets/e-addressbook-model.c
+++ b/addressbook/gui/widgets/e-addressbook-model.c
@@ -411,7 +411,7 @@ get_view (EAddressbookModel *model)
if (model->first_get_view) {
char *capabilities;
capabilities = e_book_get_static_capabilities (model->book);
- if (capabilities && strstr (capabilities, "local")) {
+ if (capabilities && strstr (capabilities, "do-initial-query")) {
e_book_get_book_view (model->book, model->query, book_view_loaded, model);
} else {
remove_book_view(model);