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



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

Modified:
   trunk/ChangeLog
   trunk/src/gpm-cell-array.c
   trunk/src/gpm-cell-unit.c
   trunk/src/gpm-cell.c
   trunk/src/gpm-cell.h
Log:
2007-07-25  Richard Hughes  <richard hughsie com>

* src/gpm-cell-array.c: (gpm_cell_array_update),
(phone_device_added_cb):
Only do the percentage override if we have enough data on a primary
battery. Pretty major bugfix, not sure why we haven't hit this.

* src/gpm-cell-unit.c: (gpm_cell_unit_get_icon),
(gpm_cell_unit_get_kind_localised):
Use the percentage, not the charge level. Also add translation.

* src/gpm-cell.c: (gpm_cell_refresh_hal_all),
(hal_device_property_modified_cb), (gpm_cell_set_hal_udi),
(gpm_cell_set_phone_index), (phone_device_refresh_cb):
* src/gpm-cell.h:
Support the correct methods to update the icon when the phone device
changes.





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