[gpm] [patch] kbd brightness fix
- From: David Zeuthen <david fubar dk>
- To: gnome-power-manager-list gnome org
- Subject: [gpm] [patch] kbd brightness fix
- Date: Tue, 06 Feb 2007 01:51:35 -0500
g-p-m times out on lots of method calls on startup. Attached patch makes
it work for me on my Macbook Pro. Please apply. Thanks.
David
Index: src/gpm-brightness-kbd.c
===================================================================
--- src/gpm-brightness-kbd.c (revision 1862)
+++ src/gpm-brightness-kbd.c (working copy)
@@ -154,7 +154,7 @@
gpm_debug ("Setting %i of %i", brightness_level_hw, brightness->priv->levels - 1);
ret = dbus_g_proxy_call (proxy, "SetBrightness", &error,
- G_TYPE_UINT, brightness_level_hw,
+ G_TYPE_INT, brightness_level_hw,
G_TYPE_INVALID,
G_TYPE_INVALID);
if (error) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]