[Bug 35896] Use XDG directories

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 7 15:02:07 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=35896

--- Comment #27 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-09-07 13:02:07 UTC ---
Created attachment 66790
  --> https://bugs.freedesktop.org/attachment.cgi?id=66790
Default account backend: write accounts to  XDG_DATA_HOME, with fallback

If the user has ~/.mission-control/accounts/accounts.cfg we migrate
from there to XDG_DATA_HOME/telepathy/mission-control/accounts.cfg,
and if successful, delete the old name.

If the user has XDG_DATA_DIRS/telepathy/mission-control/accounts.cfg
(in a lower-priority path element than XDG_DATA_HOME), we use it,
with copy-on-write into XDG_DATA_HOME.

(Limitation: the account-store executable used in some tests only reads
from XDG_DATA_HOME, and doesn't understand the XDG_DATA_DIRS and
MC_ACCOUNT_DIR fallback.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list