gnome-power-manager r1853 - in trunk: . src



Author: rhughes
Date: 2007-02-05 00:21:54 +0000 (Mon, 05 Feb 2007)
New Revision: 1853
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=1853&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/gpm-brightness-lcd.c
   trunk/src/gpm-common.c
   trunk/src/gpm-srv-backlight.c
Log:
2007-02-05  Richard Hughes  <richard hughsie com>

* src/gpm-brightness-lcd.c:
Use the old (2.16) GetBrightness and SetBrightness methods because
these work. I think the DELL smbios addon is returning an integer rather
than an unsigned integer and this is the source of confusion.

* src/gpm-common.c:
Check that the levels are not zero, else we get non-sensical results.

* src/gpm-srv-backlight.c:
Set the dim value after the first GetBrightness to avoid setting the
dim value as the current brightness.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]