Avoid absolute paths in "On This Computer" source groups.
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 15 Jul 2010 17:08:50 +0000 (13:08 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Thu, 15 Jul 2010 17:08:50 +0000 (13:08 -0400)
commit9e0845207b39f256f7e81d388741ed30a764ea7b
tree38e77c7d04f742be68a0de7dd0f34767b74d75fa
parentf5ad654d9087d2bd04b82b04d009d8019a6cf862
Avoid absolute paths in "On This Computer" source groups.

A base URI of "local:" is sufficient to identify the "On This Computer"
source group.  No other source group uses that URI scheme, and it avoids
an entire class of portability problems that come with using an absolute
"file:" URI to point to user-specific data:

- What if the user's home directory is renamed?
- What if settings are moved to a new host under a different user name?
- What if settings are copied to another user account on the same host?
- Migrating to XDG base dirs is otherwise a giant PITA.
libedataserver/e-source-group.c