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 346544 - Expand EContactPhoto to support remote images
Expand EContactPhoto to support remote images
Status: RESOLVED DUPLICATE of bug 313533
Product: evolution-data-server
Classification: Platform
Component: Contacts
1.8.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-07-04 13:52 UTC by Ross Burton
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ross Burton 2006-07-04 13:52:00 UTC
EContactPhoto currently only allows the user of EContact to get and set inline photos, which are base-64 encoded.  The vCard specification allows PHOTO fields to refer to external images with a URL, but EContactPhoto doesn't allow this.

I have a patch that changes the EContactPhoto struct to this:

typedef struct {
	EContactPhotoType type;
	union {
		struct {
			char *mime_type;
			int length;
			guchar *data;
		} inlined;
		char *uri;
	} data;
} EContactPhoto;

(it was so much nicer when the union was unnamed, but that is a gcc extension)

Would this patch be considered for inclusion in EDS 1.8?
Comment 1 Ross Burton 2006-07-04 13:56:19 UTC

*** This bug has been marked as a duplicate of 313533 ***