CVSROOT:        /cvs/gnome
Module name:    gnome-power-manager
Changes by:     rhughes 06/02/13 08:24:44

Modified files:
        .              : ChangeLog 
        src            : gpm-manager.c gpm-power.c gpm-power.h 

Log message:
2006-02-13 Richard Hughes <[EMAIL PROTECTED]>
* src/gpm-power.h, src/gpm-power.c (gpm_power_class_init): Add battery removed 
proxy signal so we can use it in manager.
(add_battery): Do not query hal again, use the cached values for the capacity 
check. Also, only do this check if the battery is marked as present.
(power_get_summary_for_battery_kind): Remove the complicated check for UPS's, 
as it's fragile and seems to break. Unconditionally display the battery type as 
a prefix for now, we can argue about the tooltip logic in a new bugzilla.
(battery_device_cache_entry_update_all): Do more careful checking, (e.g. don't 
ask a mouse device for time_remaining) so we don't spew so many warnings.
* src/gpm-manager.c (gpm_manager_init): Add hal_battery_removed_cb so we can 
update the icon and tooltip to fix #329027.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-power-manager&who=rhughes&date=explicit&mindate=2006-02-13%2008:23&maxdate=2006-02-13%2008:25

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to