Commit graph

7 commits

Author SHA1 Message Date
Richard Hughes
39df99ae20 trivial: add a fixme 2009-01-23 17:14:02 +00:00
Richard Hughes
35bd038ac7 trivial cleanups of davidz patch -- no functional changes 2008-11-12 09:58:36 +00:00
David Zeuthen
c9dbc80f36 turn some methods into properties
GetOnBattery()  -> :on-battery (bool)
 GetLowBattery() -> :on-low-battery (bool)
 CanSuspend()    -> :can-suspend (bool)
 CanHibernate()  -> :can-hibernate (bool)

also add a new property for the daemon version

 :daemon-version (string)

introduce a new Changed() signal that replaces

 ::LowBatteryChanged()
 ::OnBatteryChanged()

Also fix a few bugs

 - we need to compute ::on-battery and ::on-low-battery *after*
   the actual device is updated

 - need to fire Device::Changed() before Power::DeviceChanged()
   otherwise devkit-power --monitor-detail lies

also fix up libdevkit-power and devkit-power(1) to use these changes.
2008-11-11 13:58:26 -05:00
David Zeuthen
9f4bdecd33 move object paths so things are rooted under /org/freedesktop/DeviceKit/Power 2008-11-11 10:42:53 -05:00
Richard Hughes
63397c1e83 expand the client helper library to cover all the base API for gnome-power-manager 2008-11-04 12:02:23 +00:00
Richard Hughes
7fdcc278dc convert to using egg_ functionality like other projects 2008-08-28 15:49:19 +01:00
Richard Hughes
32aaf9ed93 move DkpClient and DkpClientDevice to libdevkit-power 2008-08-11 10:40:22 +01:00
Renamed from tools/dkp-client.c (Browse further)