[Telepathy] Connection manager parameters that are D-Bus properties

Andre Moreira Magalhaes andre.magalhaes at collabora.co.uk
Mon Jan 19 06:52:00 PST 2009


Simon McVittie wrote:
> The other character allowed in interface/member names but not in key
> files is the underscore.
>
> We have already defined parameters containing "-", so we can't define an
> escape syntax like "-FF in a .manager file means the single character \xFF"
> without breaking backwards compatibility.
>
> I see three options:
>
> * Extend the .manager file syntax to allow "." and "_" in key names
>
>   This means consumers of .manager files might not be able to use a
>   generic .desktop file parser. However, GKeyFile already allows ".",
>   "_" and "@" as extensions, KConfigIniBackend allows anything except
>   "=" (and interprets backslash escapes!), and we're writing our own KeyFile
>   class for telepathy-qt4 (to avoid a kdelibs dependency) so we can apply
>   whatever extensions we want there. So, this is probably the easiest solution.
>
>   
I believe this is the best solution. I implemented this for now, but if 
someone has a strong point here we can change it later.

Andre


More information about the Telepathy mailing list