libxfconf api changes

Steve davidfrankiedistribution at yahoo.com
Sun Jul 27 15:20:47 CEST 2008


Jannis

Nice job on this .

How would I go about submitting my work for inclusion ?

Steve

http://www.stevesapparel.com/


--- On Sun, 7/27/08, Jannis Pohlmann <jannis at xfce.org> wrote:

> From: Jannis Pohlmann <jannis at xfce.org>
> Subject: Re: libxfconf api changes
> To: xfce4-dev at xfce.org
> Date: Sunday, July 27, 2008, 12:35 AM
> Hey,
> 
> Am Sat, 26 Jul 2008 18:17:18 -0700
> schrieb "Brian J. Tarricone"
> <bjt23 at cornell.edu>:
> 
> > Hi guys,
> > 
> > I've made a couple changes to libxfconf's API
> to make it easier to
> > manage properties.  Nick wanted this for display
> profiles, but Jannis
> > noted it would be useful for keybinding themes as
> well.
> > 
> > xfconf_channel_get_all() has been renamed to
> > 
> > GHashTable
> *xfconf_channel_get_properties(XfconfChannel *channel,
> >                                           const gchar
> *property_base);
> > 
> > Passing NULL or "/" for property_base will
> give you the old behavior.
> > Passing a property name for property_base will give
> you the value of
> > that property, and any sub-properties in the tree from
> that point.
> 
> It seems to work, but I noticed that when you pass NULL or
> "/" for
> property_base, all property keys in the hash table will end
> up with a
> prefix of two slashes, like '//<Alt>F2'
> instead of '/<Alt>F2'.
> 
>   - Jannis_______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev



More information about the Xfce4-dev mailing list