This reduces some redundancy between the screen brightness and keyboard brightness code. Such refactoring is a prerequisite for including a keyboard backlight control in the Keyboard panel, as has been [proposed][1]. But hopefully this makes the code a bit neater and more managable even without that. [1]: https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/keyboard/Keyboard-with-dialogs.png |
||
---|---|---|
.. | ||
icons | ||
battery-levels.css | ||
cc-brightness-scale.c | ||
cc-brightness-scale.h | ||
cc-power-panel.c | ||
cc-power-panel.h | ||
cc-power-panel.ui | ||
gnome-power-panel.desktop.in.in | ||
meson.build | ||
power.gresource.xml |