~ci-train-bot/unity-control-center/unity-control-center-ubuntu-artful-2861

Viewing all changes in revision 12887.

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2017-06-27 23:36:48 UTC
  • mfrom: (12885.2.5 ucc)
  • Revision ID: ci-train-bot@canonical.com-20170627233648-aszab1qcmq35yeal
appearance: support multiple compiz setting profiles, and update lowgfx key accordingly

We only control the value of the "lowgfx" key here, and monitor changes.
The actual change of the profile is up to the unity components.

We monitor the current used profile by looking at org.compiz settings.

I've created a small utility class, GroupedGSettings, that allows to easily
manage multiple settings that share the same schema, but that have different paths.
It allows to set a default path and get value changes from that, while setting
parameters for every value.

So now, when you change any compiz parameter, it will apply to both 'unity' and
'unity-lowgfx' profiles. While we'll just monitor the current one for changes. (LP: #1668950)

Approved by: Matthew Paul Thomas, Sebastien Bacher

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: