Hello power people! I was looking to update the Ubuntu package from Debian and I found a patch that we didn't have updating the desktop file to have startup notification. Also, they took the change from UINT to INT on GetBrightness further to include both KBD and LCD brightness. --Ted
--- data/gnome-power-manager.desktop.in 2006-04-25 23:58:46.000000000 +0200 +++ data/gnome-power-manager.desktop.in.new 2006-08-13 22:17:32.000000000 +0200 @@ -2,6 +2,7 @@ Encoding=UTF-8 _Name=Power Manager _Comment=Power management daemon +StartupNotify=true Icon=gnome-power-manager Exec=gnome-power-manager Terminal=false
diff -ur gnome-power-manager-2.19.6.clean/src/gpm-brightness-kbd.c gnome-power-manager-2.19.6/src/gpm-brightness-kbd.c --- gnome-power-manager-2.19.6.clean/src/gpm-brightness-kbd.c 2007-06-01 09:16:08.000000000 +0100 +++ gnome-power-manager-2.19.6/src/gpm-brightness-kbd.c 2007-08-29 22:23:50.000000000 +0100 @@ -105,7 +105,7 @@ ret = dbus_g_proxy_call (proxy, "GetBrightness", &error, G_TYPE_INVALID, - G_TYPE_UINT, brightness_level_hw, + G_TYPE_INT, brightness_level_hw, G_TYPE_INVALID); if (error) { gpm_debug ("ERROR: %s", error->message); diff -ur gnome-power-manager-2.19.6.clean/src/gpm-brightness-lcd.c gnome-power-manager-2.19.6/src/gpm-brightness-lcd.c --- gnome-power-manager-2.19.6.clean/src/gpm-brightness-lcd.c 2007-07-26 18:49:33.000000000 +0100 +++ gnome-power-manager-2.19.6/src/gpm-brightness-lcd.c 2007-08-29 22:23:35.000000000 +0100 @@ -97,7 +97,7 @@ ret = dbus_g_proxy_call (proxy, "GetBrightness", &error, G_TYPE_INVALID, - G_TYPE_UINT, &level, + G_TYPE_INT, &level, G_TYPE_INVALID); if (brightness_level_hw != NULL) { Only in gnome-power-manager-2.19.6.clean/src: gpm-marshal.c Only in gnome-power-manager-2.19.6.clean/src: gpm-marshal.h
Attachment:
signature.asc
Description: This is a digitally signed message part