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 570124 - Update face image from gravatar.com
Update face image from gravatar.com
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: plugins
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on: 525027
Blocks:
 
 
Reported: 2009-02-01 18:37 UTC by Philip Withnall
Modified: 2019-03-20 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Update face image from gravatar.com (11.41 KB, patch)
2009-02-03 18:14 UTC, Philip Withnall
needs-work Details | Review

Description Philip Withnall 2009-02-01 18:37:03 UTC
For people who choose their face image as their Gravatar (bug #525027), there needs to be a way to regularly update the locally-cached face image from gravatar.com.

This would require a new gnome-settings-daemon plugin, I think.
Comment 1 Jens Granseuer 2009-02-01 18:44:13 UTC
I'd probably just add it to the housekeeping plugin.
Comment 2 Philip Withnall 2009-02-03 18:14:51 UTC
Created attachment 127863 [details] [review]
Update face image from gravatar.com

Patch to the housekeeping plugin with code to be executed once a day. It adds an optional dependency on libsoup-2.4 and libebook-1.2, and I've set the GConf key as /desktop/gnome/interface/gravatar_email_address.
Comment 3 Bastien Nocera 2010-11-17 13:53:02 UTC
Review of attachment 127863 [details] [review]:

A few notes.

This will need to be ported to GSettings to start with.

::: plugins/housekeeping/gsd-gravatar.c
@@ +58,3 @@
+        GError        *error;
+
+        /* Get the contact/book data from Evolution */

I think we should make evolution use the system-wide avatar instead of having a dependency on libebook here.

@@ +113,3 @@
+
+                /* Save the image for GDM */
+                /* FIXME: I would have to read the default used by the gdmgreeter program */

You'd need to save it system-wide to use the accountsservice:
http://cgit.freedesktop.org/accountsservice/

@@ +188,3 @@
+        g_free (email);
+
+        session = soup_session_async_new ();

Any reasons you're not using GIO instead?

@@ +205,3 @@
+#endif /* !(HAVE_LIBSOUP && HAVE_LIBEBOOK) */
+
+#ifdef TEST

Turn this into a proper test application, see current code.
Comment 4 GNOME Infrastructure Team 2019-03-20 10:51:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/160.