CVSROOT:        /cvs/gnome
Module name:    gnome-power-manager
Changes by:     rhughes 06/02/05 11:19:40

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

Log message:
2006-01-31 Jaap Haitsma  <[EMAIL PROTECTED]>

* gpm-power.{c|h}: Introduce an enum GpmPowerBatteryType to denote the  type of 
battery i.s.o. a string.

Introduce a struct GpmPowerBatteryStatus that holds all the battery data.
This will make future inclusion of extra data that we can process in GpmManager 
trivial.

BATTERY_POWER_CHANGED signal changed to BATTERY_STATUS_CHANGED and now only 
indicates battery_type. User can obtain battery status by calling 
gpm_power_get_battery_status.

Change the other code to reflect these changes

* gpm-manager.c gpm-marshal.list: Use the new data types of gpm-power

* gpm-manager.c (power_battery_status_changed_cb) Critical action now can also 
be time based

(maybe_notify_battery_status_changed) make sure we only notify if 
remaining_time > 0

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-power-manager&who=rhughes&date=explicit&mindate=2006-02-05%2011:18&maxdate=2006-02-05%2011:20

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

Reply via email to