telepathy-mission-control: McdAccount: migrate avatars to a XDG path

Simon McVittie smcv at kemper.freedesktop.org
Thu Sep 20 08:15:56 PDT 2012


Module: telepathy-mission-control
Branch: master
Commit: bd9334449d2ff1db6158ecfbb41f65327a40a078
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=bd9334449d2ff1db6158ecfbb41f65327a40a078

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Sep  4 15:43:33 2012 +0100

McdAccount: migrate avatars to a XDG path

This is the easy part of XDGification: there is no plugin involvement or
anything for avatars (yet!), it's just hard-coded.

Changing the avatar location from a single directory to a search path
results in some new corner cases, so test them.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35896
Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>

---

 src/mcd-account.c                               |  328 ++++++++++++++++++++---
 tests/twisted/Makefile.am                       |    2 +-
 tests/twisted/account-manager/avatar-persist.py |   48 +++-
 tests/twisted/account-manager/avatar-refresh.py |   12 +-
 tests/twisted/account-manager/avatar.py         |   23 ++-
 5 files changed, 364 insertions(+), 49 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-mission-control/diff/?id=bd9334449d2ff1db6158ecfbb41f65327a40a078


More information about the telepathy-commits mailing list