gnome-power-manager r2341 - in trunk: . src test



Author: rhughes
Date: 2007-07-18 10:33:24 +0100 (Wed, 18 Jul 2007)
New Revision: 2341
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=2341&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/gpm-cell-array.c
   trunk/src/gpm-profile.c
   trunk/test/gpm-st-main.c
Log:
2007-07-18  Richard Hughes  <richard hughsie com>

* src/gpm-cell-array.c: (control_sleep_action_cb),
(gpm_cell_array_init), (gpm_cell_array_finalize):
Rescan the cell array when we resume as the primary battery may have
been changed or removed. This hopefully fixes the big where the wrong
profile is used when the battery is swapped whilst hibernating.

* src/gpm-profile.c: (gpm_profile_init):
Cosmetic whitespace fix.

* test/gpm-st-main.c: (main):
Uncomment the test so we do the whole suite.





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