diff options
author | Andrej Valek <[email protected]> | 2020-10-23 22:05:37 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-11-10 20:30:02 +0100 |
commit | d879a18a09e9cbdd43050365e08afd9f9bee72bd (patch) | |
tree | 815507378ee5fedfe8999070eff1db9ffb8ebc89 /src | |
parent | 42ccd70cbe786d58a68e8479b77b80334186f665 (diff) | |
download | mate-power-manager-d879a18a09e9cbdd43050365e08afd9f9bee72bd.tar.bz2 mate-power-manager-d879a18a09e9cbdd43050365e08afd9f9bee72bd.tar.xz |
mate-power-preferences: add option to enable keyboard dimming
Diffstat (limited to 'src')
-rw-r--r-- | src/gpm-prefs-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c index b43dd12..4375a6a 100644 --- a/src/gpm-prefs-core.c +++ b/src/gpm-prefs-core.c @@ -480,6 +480,9 @@ prefs_setup_battery (GpmPrefs *prefs) g_settings_bind (prefs->priv->settings, GPM_SETTINGS_IDLE_DIM_BATT, GET_WIDGET ("checkbutton_battery_display_dim"), "active", G_SETTINGS_BIND_DEFAULT); + g_settings_bind (prefs->priv->settings, GPM_SETTINGS_KBD_BACKLIGHT_BATT_REDUCE, + GET_WIDGET ("checkbutton_battery_keyboard_reduce"), "active", + G_SETTINGS_BIND_DEFAULT); if (prefs->priv->has_button_lid == FALSE) gtk_widget_hide (GET_WIDGET ("box_battery_lid")); |