diff options
author | Chris Toshok <toshok@ximian.com> | 2001-07-02 13:24:44 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-07-02 13:24:44 +0800 |
commit | d10adfea7a903356ccf15161955325a83ebd9863 (patch) | |
tree | 18306fb1abc01a1e675729abd0cfad9b7026f7de /addressbook/gui/contact-list-editor/e-contact-list-editor.c | |
parent | 353946a818a6e373773cdfcad543e9d6b65f042d (diff) | |
download | gsoc2013-evolution-d10adfea7a903356ccf15161955325a83ebd9863.tar.gz gsoc2013-evolution-d10adfea7a903356ccf15161955325a83ebd9863.tar.zst gsoc2013-evolution-d10adfea7a903356ccf15161955325a83ebd9863.zip |
use ECARD_UID_LINK_PREFIX.
2001-07-01 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info):
use ECARD_UID_LINK_PREFIX.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_get_email): use ECARD_UID_LINK_PREFIX.
* backend/ebook/e-destination.h: add prototype for
e_destination_importv_list.
* backend/ebook/e-destination.c (e_destination_importv_list): new
function, take an ECard corresponding to an address list and
resolve any linked cards, returning an EDestination vector.
* backend/ebook/e-card.h (ECARD_UID_LINK_PREFIX): #define this here,
since we need to use it in a few places.
svn path=/trunk/; revision=10667
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r-- | addressbook/gui/contact-list-editor/e-contact-list-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index bff82c2f2b..86e283f0f6 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -804,11 +804,11 @@ fill_in_info(EContactListEditor *editor) while (e_iterator_is_valid (email_iter)) { const char *email = e_iterator_get (email_iter); - if (!strncmp (email, "X-EVOLUTION-UID=", strlen ("X-EVOLUTION-UID"))) { + if (!strncmp (email, ECARD_UID_LINK_PREFIX, strlen (ECARD_UID_LINK_PREFIX))) { ECard *card; const char *uid; /* it's a serialized uid */ - uid = email + strlen ("X-EVOLUTION-UID="); + uid = email + strlen (ECARD_UID_LINK_PREFIX); card = e_book_get_card (editor->book, uid); if (card) { ECardSimple *simple = e_card_simple_new (card); |