linuxmint/Cinnamon — pull request #1066 by mtwebster (2012-08-31 22:28:56+00:00)
Title: Add dependencies to cinnamon-settings

For instance, if you have a checkbox A, and you want combobox B and C
to be disabled if checkbox A is unchecked, you would pass the
key for checkbox A along with the other construction arguments for B
and C. If there is no dependency, pass None in its place.

Currently only supporting checkbox dependencies - anything more complicated
and it needs its own handling.

You can also invert the dependency by adding a ! in front of the
dependency key. In the above example, if inverted, if checkbox A is
UNCHECKED, combobox B and C WILL be enabled, and disabled if checkbox A
is CHECKED.