Skip to content

[question] xfconf_g_property_bind does not work well with locked properties

Submitted by Stephan Arts

Assigned to Brian J. Tarricone

Link to original bug (#8330)

Description

When a channel is locked, and a gobject property that is bound to an xfconf-property is changed. xfconf gives a warning that the property could not be set.

Now, what would be the correct approach to propagate that 'locked' state back to the original gobject property?

Create a lookup-table that contains the gobject and xfconf property-names, and guard the _set functions with xfconf_channel_is_property_locked?

Or is there a way to solve this that involves modifying xfconf_g_property_bind?

Version: GIT Master