color-manager: Set up a D-Bus proxy to org.gnome.SettingsDaemon.Color

gsd-color provides this API, which exposes details about the night light
state. Currently, gsd-color also turns this state into CRTC gamma
changes, but this will eventually change, and this is a preparation for
this.

The proxy isn't yet used for anything.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2164>
This commit is contained in:
Jonas Ådahl
2021-10-29 11:23:18 +02:00
parent 0dc6d76371
commit 43cd70089e
5 changed files with 87 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class MutterDBusTestCase(DBusTestCase):
klass.start_from_local_template('localed')
klass.start_from_local_template('colord')
klass.start_from_local_template('gsd-color')
klass.system_bus_con = klass.get_dbus(system_bus=True)
klass.session_bus_con = klass.get_dbus(system_bus=False)