[Compcomm] Settings-tool (off-topic)

Danny Baumann dannybaumann at web.de
Mon Jun 18 07:35:45 EDT 2007


Hi,

> It could be good, but don't we risk to write (maintain) the same code
> two times?

Theoretically yes, but not here. Reason below ;-)

> I mean, the .xml files will be parsed both from compiz (an this should
> be done in any ways) and from the libcompizconfig, while if I'm not
> wrong Mike was for using compiz for all the xml-parsing stuffs, and this
> will allow to keep all the xml-related code in the hands of DavidR and
> his crew (= no needed doube maintenance)... 

Mike says that libcompizconfig shouldn't parse the metadata because of
speed reasons, because it could use the pre-parsed metadata from Compiz
retrieved via the dbus plugin. That's correct, but only covers a subset
of all possibilities (Compiz running/Dbus plugin loaded/Dbus is
working). For all other cases, libcompizconfig still would have to parse
the metadata, so the code is needed anyway.
Also, "DavidR and his crew" essentially is Dennis (onestone) here, who
wrote both the metadata handling stuff in Compiz and libcompizconfig, so
I think the double maintenance is no big deal here ;-)

> This whould be good, but
> maybe it won't allow (without patching/hacking) some personalizations
> that libcompizconfig allows both from the code and its global.xlm file...

Using Dbus definitely wouldn't allow metadata customization via global.xml.

Regards,

Danny




More information about the CompComm mailing list