diff options
author | Chris Toshok <toshok@ximian.com> | 2004-01-24 03:35:02 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-01-24 03:35:02 +0800 |
commit | a5157a42da8130dbdf50ad0d5053378b13c2b882 (patch) | |
tree | 43967072a2b47e9591fd3d2818b81876864f6894 /MAINTAINERS | |
parent | c6ba8e9f2d7c34b91e965343c9356d7e2a80e1a7 (diff) | |
download | gsoc2013-evolution-a5157a42da8130dbdf50ad0d5053378b13c2b882.tar gsoc2013-evolution-a5157a42da8130dbdf50ad0d5053378b13c2b882.tar.gz gsoc2013-evolution-a5157a42da8130dbdf50ad0d5053378b13c2b882.tar.bz2 gsoc2013-evolution-a5157a42da8130dbdf50ad0d5053378b13c2b882.tar.lz gsoc2013-evolution-a5157a42da8130dbdf50ad0d5053378b13c2b882.tar.xz gsoc2013-evolution-a5157a42da8130dbdf50ad0d5053378b13c2b882.tar.zst gsoc2013-evolution-a5157a42da8130dbdf50ad0d5053378b13c2b882.zip |
[ fixes bug #52571 ] ugh. name fields that have \" around the name break
2004-01-23 Chris Toshok <toshok@ximian.com>
[ fixes bug #52571 ]
* util/eab-book-util.c (escape): ugh. name fields that have \"
around the name break our queries, because it turns it into (for
instance): (contains "full_name" ""Toshok""). so we need to turn
that into: (contains "full_name" "\"Toshok\"").
(eab_name_and_email_query): escape both the name and email, and
use an EBookQuery instead of passing the string to
e_book_async_get_contacts. Looks like ross missed a couple of
spots.
(eab_nickname_query): same.
* gui/component/addressbook.c (free_load_source_data): new
function, free up the data and unref the source if there is one.
(load_source_auth_cb): call free_load_source_data instead of just
g_free'ing the struct.
(load_source_cb): same.
(default_book_cb): new function, we need this so we can fill in
the source for the default book. get the source, then call
load_source_cb to continue processing as normal.
(addressbook_load_default_book): use default_book_cb instead of
load_source_cb.
svn path=/trunk/; revision=24383
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions