After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 651234 - Update developer documentation for e_destination_get_name()
Update developer documentation for e_destination_get_name()
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-05-27 11:58 UTC by Ritesh Khadgaray ( irc:ritz)
Modified: 2018-12-11 16:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ritesh Khadgaray ( irc:ritz) 2011-05-27 11:58:43 UTC
update documentation to specify that e_destination_get_name returns qp encoded name. 

wrt https://bugzilla.gnome.org/show_bug.cgi?id=619347 ( Decode QP in email in Contact List Editor )

This stems from the way  e_destination_get_name returns QP formatted name.  

From docs, "Gets the full name of dest's addressee, or if the addressee is a contact list, the name the list was filed under." it is not clear if this is QP formated , or UTF8. 

  Please update the docs, or replace it with e_destination_get_encoded_name and leave e_destination_get_name as a deprecated alias .
Comment 1 Matthew Barnes 2011-05-27 12:02:32 UTC
(In reply to comment #0)
>   Please update the docs, or replace it with e_destination_get_encoded_name and
> leave e_destination_get_name as a deprecated alias .

Hey good idea.  ;)  We should do both.
Comment 2 Ritesh Khadgaray ( irc:ritz) 2011-06-02 09:33:23 UTC
both would be good, would allow us to fix e_destination_textrep, rather than using a wrapper such as eab_parse_qp_email .
Comment 3 Milan Crha 2018-12-11 16:39:54 UTC
Thanks for a bug report. I'd not rename the function, because the returned text is not always encoded. I updated the developer documentation only:

Created commit b7b3aa7e6 in eds master (3.31.4+)