CVSROOT: /cvs/gnome Module name: gnome-power-manager Changes by: rhughes 06/01/22 18:07:34
Modified files: . : ChangeLog src : Makefile.am gpm-hal.c gpm-hal.h gpm-manager.c Added files: src : gpm-brightness.c gpm-brightness.h Log message: * src/gpm-brightness.{c|h}: Add these files which abstract out the lcd brightness interface nicely. The new class internally deals with the hardware values (0..x) and externally deals with percentages so that the changes recently in g-p-p to store percentage now work. * src/Makefile.am: Add gpm-brightness.{c|h} to g-p-m. * src/gpm-hal.{h|c}: Remove all the LCD brightness code. This was always a bodge putting it in this file, and now it's faster and cleaner in the new class. * src/gpm-manager.c: Adapt for the new lcd brightness function names. Also add the code to change the brightness when we change the gconf key in g-p-p. This fixes (327895). URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-power-manager&who=rhughes&date=explicit&mindate=2006-01-22%2018:06&maxdate=2006-01-22%2018:08 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list