gnome-power-manager r2124 - in trunk: . src test
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r2124 - in trunk: . src test
- Date: Wed, 4 Apr 2007 18:43:38 +0100 (BST)
Author: rhughes
Date: 2007-04-04 18:43:37 +0100 (Wed, 04 Apr 2007)
New Revision: 2124
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=2124&view=rev
Added:
trunk/test/gpm-st-profile.c
Modified:
trunk/ChangeLog
trunk/src/gpm-array.c
trunk/src/gpm-cell-array.c
trunk/src/gpm-engine.c
trunk/src/gpm-manager.c
trunk/src/gpm-profile.c
trunk/src/gpm-profile.h
trunk/test/Makefile.am
trunk/test/gpm-st-main.c
trunk/test/gpm-st-main.h
Log:
2007-04-04 Richard Hughes <richard hughsie com>
* src/gpm-array.c: (gpm_array_append_from_file),
(gpm_array_load_from_file):
* src/gpm-cell-array.c: (gpm_cell_array_get_config_id),
(gpm_cell_array_collection_changed), (gpm_cell_array_add),
(gpm_cell_array_set_type), (hal_device_removed_cb):
* src/gpm-engine.c: (gpm_engine_recalculate_state_icon),
(gpm_engine_recalculate_state_summary), (gpm_engine_finalize):
* src/gpm-manager.c: (gpm_manager_init), (gpm_manager_finalize):
* src/gpm-profile.c: (gpm_profile_get_data_file),
(gpm_profile_get_time), (gpm_profile_save_percentage),
(gpm_profile_delete_data), (gpm_profile_load_data),
(gpm_profile_set_config_id), (gpm_profile_get_accuracy),
(gpm_profile_init), (gpm_profile_finalize):
* src/gpm-profile.h:
Make the profile code work with multiple batteries.
* test/Makefile.am:
* test/gpm-st-main.c: (main):
* test/gpm-st-main.h:
* test/gpm-st-profile.c: (gpm_st_profile):
Add a test suite for the GpmProfile code.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]