diff options
author | Richard Hughes <richard@hughsie.com> | 2017-02-15 15:43:35 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-02-16 15:06:51 +0000 |
commit | 591c8860f76cffc21f77a259c4bd8a8129a7f4b8 (patch) | |
tree | 50b39ac2661360d483871fb89f3aca80cb7fa69d /plugins/color/gcm-self-test.c | |
parent | 44da5c107d260e566e00021c01de0a15c23a1620 (diff) | |
download | gnome-settings-daemon-591c8860f76cffc21f77a259c4bd8a8129a7f4b8.tar.gz |
color: Smooth the transition between different temperature values
This makes the effect less jarring when enabling or disabling in the control
center or shell. This and also means we transition nicely when adjusting the
times in manual mode.
https://bugzilla.gnome.org/show_bug.cgi?id=778689
Diffstat (limited to 'plugins/color/gcm-self-test.c')
-rw-r--r-- | plugins/color/gcm-self-test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/color/gcm-self-test.c b/plugins/color/gcm-self-test.c index 37ec1338..8827ca46 100644 --- a/plugins/color/gcm-self-test.c +++ b/plugins/color/gcm-self-test.c @@ -73,6 +73,9 @@ gcm_test_night_light (void) /* do not start geoclue */ gsd_night_light_set_geoclue_enabled (nlight, FALSE); + /* do not smooth the transition */ + gsd_night_light_set_smooth_enabled (nlight, FALSE); + /* switch off */ settings = g_settings_new ("org.gnome.settings-daemon.plugins.color"); g_settings_set_boolean (settings, "night-light-enabled", FALSE); |