From 5b11f6dc1de45412cdfb5aded38b20f1d8bb8ce6 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Fri, 3 Aug 2001 03:09:35 +0000 Subject: Add camel dependency. 2001-08-02 Jon Trowbridge * printing/Makefile.am (ecpsdir): Add camel dependency. * gui/component/Makefile.am: Add camel dependency. * backend/ebook/Makefile.am: Add camel dependency. * gui/component/addressbook-factory.c (main): Properly init camel. * backend/ebook/e-destination.c (e_destination_clear_strings): Clear ->raw. (e_destination_is_empty): We aren't empty if ->raw is set.. (e_destination_set_raw): Replaces e_destination_set_string. (e_destination_get_name): Use camel's parser to extract the name from ->raw. (e_destination_get_email): Use camel's parser to extract the email address from ->raw. (e_destination_get_address): Use camel to produce properly quoted, RFC-compliant addresses. Thanks camel! (Bug #5860) * gui/component/select-names/e-select-names-completion.c (emailify_match): Always append an e-mail address, as long as it doesn't have one already at it's beginning or end. Don't limit self to just emailifying entries tied to cards with multiple addresses. (I didn't really want to do this, but people seem to like keeping multiple cards for the same person, and other solutions (like scanning all matches for duplicate names, and only emailifying those) just seemed like way too much work for such a limited payoff.) * gui/component/select-names/e-select-names-text-model.c: s/e_destination_set_string/e_destination_set_raw/. * gui/component/select-names/e-select-names-popup.c (popup_menu_card): Quote _'s in our popup menus, so that "foo_bar" doesn't get displayed as "foobar" w/ the 'b' underlined. (Bug #5558) (popup_menu_nocard): Ditto. 2001-08-02 Jon Trowbridge * Makefile.am: Added camel dependency (now needed by ebook). 2001-08-02 Jon Trowbridge * gui/Makefile.am: Added camel dependency (now needed by ebook). 2001-08-02 Jon Trowbridge * Makefile.am: Added camel dependency (now needed by ebook). svn path=/trunk/; revision=11602 --- addressbook/backend/ebook/e-destination.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/backend/ebook/e-destination.h') diff --git a/addressbook/backend/ebook/e-destination.h b/addressbook/backend/ebook/e-destination.h index fc46a20538..96a3989d9a 100644 --- a/addressbook/backend/ebook/e-destination.h +++ b/addressbook/backend/ebook/e-destination.h @@ -71,7 +71,6 @@ void e_destination_set_card_uri (EDestination *, const gchar *ur void e_destination_set_name (EDestination *, const gchar *name); void e_destination_set_email (EDestination *, const gchar *email); -void e_destination_set_string (EDestination *, const gchar *string); void e_destination_set_html_mail_pref (EDestination *, gboolean); gboolean e_destination_contains_card (const EDestination *); @@ -87,6 +86,7 @@ const gchar *e_destination_get_name (const EDestination *); /* "Jan const gchar *e_destination_get_email (const EDestination *); /* "jane@assbarn.com" */ const gchar *e_destination_get_address (const EDestination *); /* "Jane Smith " (or a comma-sep set of such for a list) */ +void e_destination_set_raw (EDestination *, const gchar *free_form_string); const gchar *e_destination_get_textrep (const EDestination *); /* "Jane Smith" or "jane@assbarn.com" */ gboolean e_destination_is_evolution_list (const EDestination *); -- cgit v1.2.3