4.6.0

Mike Massonnet mmassonnet at gmail.com
Thu Feb 19 09:00:57 CET 2009


Le Thu, 19 Feb 2009 08:27:36 +0100,
Nick Schermer <nickschermer at gmail.com> a écrit :

> Please drop:
> +    xfconf_g_property_bind (xsettings_channel, "/Xfce/UseCustomDPI",
> G_TYPE_BOOLEAN, custom_dpi_check, "active");
> +    xfconf_g_property_bind (xsettings_channel, "/Xfce/UseCustomDPI",
> G_TYPE_BOOLEAN, custom_dpi_spin, "sensitive");
> 
> And use the toggled signal. Also do a gtk_widget_set_sensitive for the
> custom_dpi_spin. Those are property bindings and not set when the
> value in xfconf does not exist (ie. they do not behave as an exo
> binding).

Other way of fixing this will be to set the "default" value inside the
galde file, thus set the spin button insensitive.  The bind can be kept
and will act as if the initial value is correct.

Mike



More information about the Xfce4-dev mailing list