gnome-power-manager r2786 - in branches/gnome-2-22: . src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r2786 - in branches/gnome-2-22: . src
- Date: Fri, 25 Apr 2008 18:24:39 +0100 (BST)
Author: rhughes
Date: Fri Apr 25 17:24:38 2008
New Revision: 2786
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2786&view=rev
Log:
2008-04-25 Richard Hughes <richard hughsie com>
* src/gpm-srv-brightness-kbd.c: (conf_key_changed_cb):
Correct a typo in the keyboard brightness code. From a Debian patch found randomly on
the Internet by Matthias.
It might have been nice if it could have been sent to me by the Debian maintainer...
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/src/gpm-srv-brightness-kbd.c
Modified: branches/gnome-2-22/src/gpm-srv-brightness-kbd.c
==============================================================================
--- branches/gnome-2-22/src/gpm-srv-brightness-kbd.c (original)
+++ branches/gnome-2-22/src/gpm-srv-brightness-kbd.c Fri Apr 25 17:24:38 2008
@@ -85,14 +85,14 @@
if (strcmp (key, GPM_CONF_KEYBOARD_BRIGHTNESS_AC) == 0) {
- gpm_conf_get_int (srv_brightness->priv->conf, GPM_CONF_BACKLIGHT_BRIGHTNESS_AC, &value);
+ gpm_conf_get_int (srv_brightness->priv->conf, GPM_CONF_KEYBOARD_BRIGHTNESS_AC, &value);
if (on_ac == TRUE) {
gpm_brightness_kbd_set_std (srv_brightness->priv->brightness, value);
}
} else if (strcmp (key, GPM_CONF_KEYBOARD_BRIGHTNESS_BATT) == 0) {
- gpm_conf_get_int (srv_brightness->priv->conf, GPM_CONF_BACKLIGHT_BRIGHTNESS_AC, &value);
+ gpm_conf_get_int (srv_brightness->priv->conf, GPM_CONF_KEYBOARD_BRIGHTNESS_AC, &value);
if (on_ac == FALSE) {
gpm_brightness_kbd_set_std (srv_brightness->priv->brightness, value);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]