config daemon/library for 4.6
Jean-François Wauthy
pollux at xfce.org
Wed Sep 5 21:24:17 CEST 2007
Le mercredi 05 septembre 2007 à 11:10 -0700, Brian J. Tarricone a
écrit :
> > Maybe it's also useful to have a function to remove a channel and all
> > the properties inside (for example when a plugin is removed from the
> > panel, the panel can ask to remove all the plugin settings).
> >
> > gboolean xfconf_channel_remove (const gchar *channel_name,
> > GError **error);
>
> That sounds reasonable. Another option would be to just remove the
> channel when all properties are removed, but that's annoying.
>
It could also be a security issue, any application being able to delete
any channel and/or property.
> But really -- what application *ever* cleans up its settings on
> uninstall? Plugins never do either. Is this even necessary? Yes, the
> store could get cluttered, but unused channels shouldn't impact the
> daemon at all (they won't get loaded if no one asks for them).
What about adding some sort of timestamp in the store for each property
logging the last access ? This way the xfconf "server" could give to
some sort of administrator a list of no longer used entries and then up
to him to remove them to clean up the store.
--
Jean-François Wauthy <pollux at xfce.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070905/7fbf46cc/attachment.pgp>
More information about the Xfce4-dev
mailing list