CVSROOT:        /cvs/gnome
Module name:    gnome-power-manager
Changes by:     jhaitsma        06/01/30 16:46:58

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

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

* gpm-power.{c|h}: Rename *kind* to *type*. BatteryType is clearer
than BatteryKind

Introduce an enum BatteryType to denote the type of battery i.s.o. a
string

Introduce a struct BatteryStatus 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 now only indicates battery_type. User
can obtain BatteryStatus 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

(power_battery_power_changed_cb)
Critical action now can also be time based

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-power-manager&who=jhaitsma&date=explicit&mindate=2006-01-30%2016:45&maxdate=2006-01-30%2016:47

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

Reply via email to