! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[question] xfconf_g_property_bind does not work well with locked properties
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfconf
Component:
Libxfconf

Comments

Description Stephan Arts editbugs 2012-01-11 12:50:03 CET
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?
Comment 1 Nick Schermer editbugs 2012-01-12 10:10:09 CET
If we silently not write I think it's fine. We could check if the property has a "sensitive" property and set it so false if locked?
Comment 2 Git Bot editbugs 2020-05-25 23:49:47 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfconf/-/issues/1.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #8330

Reported by:
Stephan Arts
Reported on: 2012-01-11
Last modified on: 2020-05-25

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
GIT Master

Attachments

Additional information