diff --git a/.build.yml b/.build.yml index e181ae82..d0b9c3e0 100644 --- a/.build.yml +++ b/.build.yml @@ -70,7 +70,6 @@ requires: - mate-common - mate-panel-devel - mesa-libGL-devel - - pangox-compat-devel - polkit-devel - popt-devel - redhat-rpm-config diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c index 018a75dc..4e3480b9 100644 --- a/src/gpm-prefs-core.c +++ b/src/gpm-prefs-core.c @@ -556,8 +556,9 @@ prefs_setup_battery (GpmPrefs *prefs) g_settings_bind (prefs->priv->settings, GPM_SETTINGS_IDLE_DIM_BATT, widget, "active", G_SETTINGS_BIND_DEFAULT); + widget = GTK_WIDGET (gtk_builder_get_object (prefs->priv->builder, "checkbutton_battery_keyboard_reduce")); g_settings_bind (prefs->priv->settings, GPM_SETTINGS_KBD_BACKLIGHT_BATT_REDUCE, - GET_WIDGET ("checkbutton_battery_keyboard_reduce"), "active", + widget, "active", G_SETTINGS_BIND_DEFAULT); if (prefs->priv->has_button_lid == FALSE) {