Cleaner XDG dirs spec implementation with pyxdg
@jeff
Submitted by Jeff F.T. Assigned to Jeff F.T. @jeff
Description
http://www.freedesktop.org/wiki/Software/pyxdg provides a convenient/robust way to access various things such as XDG directories and the "recent files" (this will probably be used for bug #T2532).
In Ubuntu, this is installed by default as the "python-xdg" package. About 50+ packages depend on it.
The attached patch changes our code to use it.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=633414