gnome-control-center/panels/power
Diego Escalante Urrelo 3a1d6295cd power: Stop the brightness slider from jumping
The GtkScale widget for screen brightness has a tendency to jump around
because GtkRange defaults to NOT rounding values (round_digits = -1).

This means that the widget is constantly set with values that have
decimals (say 10.3) which it then tries to correct to fit the step size.

The solution for this particular UI quirk is to make sure to set
round-digits to 0, as that will force GtkRange to provide GtkScale with
rounded-down numbers. See gtkrange.c.

Fixes: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/405
2019-10-31 20:05:12 +00:00
..
icons build: Remove autotools 2018-01-18 12:20:08 +01:00
cc-power-panel.c power: Stop the brightness slider from jumping 2019-10-31 20:05:12 +00:00
cc-power-panel.h power: Replace ifdefs with #pragma once 2018-05-30 23:17:07 +00:00
cc-power-panel.ui power: correct the value of 90 minutes to 5400 2019-05-02 13:35:14 +08:00
gnome-power-panel.desktop.in.in panels: Add X-GNOME-UsesNotifications to several desktop files 2018-11-01 17:22:21 +00:00
meson.build Remove unused GNOMELOCALEDIR defines 2019-09-09 21:45:53 +00:00
power.gresource.xml power: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00