gnome-power-manager r2240 - in trunk: . data src test



Author: rhughes
Date: 2007-06-01 09:53:26 +0100 (Fri, 01 Jun 2007)
New Revision: 2240
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=2240&view=rev

Modified:
   trunk/ChangeLog
   trunk/data/gpm-prefs.glade
   trunk/src/gpm-backlight.c
   trunk/src/gpm-brightness-kbd.c
   trunk/src/gpm-common.c
   trunk/src/gpm-common.h
   trunk/src/gpm-light-sensor.c
   trunk/src/gpm-light-sensor.h
   trunk/src/gpm-prefs-core.c
   trunk/src/gpm-webcam.c
   trunk/test/gpm-st-common.c
Log:
2007-06-01  Richard Hughes  <richard hughsie com>

* data/gpm-prefs.glade:
* src/gpm-prefs-core.c: (prefs_setup_ac), (prefs_setup_battery):
Move the headings around, and also include a dim-on-idle checkbox for
each battery-ac state.

* src/gpm-common.c: (gpm_discrete_to_fraction):
* src/gpm-common.h:
* test/gpm-st-common.c: (gpm_st_common):
Add a new function and test it.

* src/gpm-backlight.c: (gpm_backlight_init):
* src/gpm-brightness-kbd.c:
(adjust_kbd_brightness_according_to_ambient_light):
* src/gpm-light-sensor.c: (gpm_light_sensor_get_absolute),
(gpm_light_sensor_calibrate), (gpm_light_sensor_get_relative),
(gpm_light_sensor_poll_cb), (gpm_light_sensor_init):
* src/gpm-light-sensor.h:
* src/gpm-webcam.c:
Add in functionality so we can get relative brightness readings after
an initial calibration has been done.





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