Commit graph

27 commits

Author SHA1 Message Date
Richard Hughes
d400e1ae7c bugfix: don't clear the list when we print it 2008-09-03 10:22:34 +01:00
Richard Hughes
6557463ba2 trivial: add to_sting and from_string methods to DkpStatsObj 2008-09-03 10:22:10 +01:00
Richard Hughes
28f542de99 rename the printed string from Stats to History 2008-09-03 10:21:34 +01:00
Richard Hughes
53e42d86b7 trivial updates to shared egg- files 2008-09-02 17:53:31 +01:00
Richard Hughes
5e97daacc0 move the savelist code form DkpHistory to EggObjList as it's a common action 2008-08-29 13:20:52 +01:00
Richard Hughes
9ef076ef69 trivial: add some functionality to the EggObjList 2008-08-29 12:56:52 +01:00
Richard Hughes
38a050b01f switch from using GPtrArray to EggObjList as this provides us with auto array cleanup for different objects 2008-08-28 17:28:26 +01:00
Richard Hughes
7fdcc278dc convert to using egg_ functionality like other projects 2008-08-28 15:49:19 +01:00
Richard Hughes
b53b7dadcf don't return stats when we actually mean history -- the stats parts need to be written 2008-08-26 16:43:30 +01:00
Richard Hughes
cb9d4e6975 add DkpStatsObj convenience helpers 2008-08-26 16:40:47 +01:00
Richard Hughes
a8bca8a3c6 trivial: forgot to change one file 2008-08-26 16:04:31 +01:00
Richard Hughes
b5022f451a remove the battery- and line-power- prefix from the device properties 2008-08-26 15:51:35 +01:00
Richard Hughes
15a2a35625 add a MONITOR type, and make the printing code a little mor sane 2008-08-22 10:23:43 +01:00
Richard Hughes
c5415a35a6 trivial: add some unit comments 2008-08-22 10:05:53 +01:00
Richard Hughes
bb5203f221 don't export a shared library 2008-08-20 16:38:48 +01:00
Richard Hughes
35e91c0d96 headers should be in /usr/include/DeviceKit/devkit-power not /usr/include/DeviceKit-power/dkp-gobject 2008-08-15 11:29:36 +01:00
Richard Hughes
c9d3c59ad3 actually print the stats when we call dkp_client_device_print() 2008-08-11 13:26:45 +01:00
Richard Hughes
c464646932 make the library into a proper shared library I can use in gnome-power-manager 2008-08-11 12:32:30 +01:00
Richard Hughes
32aaf9ed93 move DkpClient and DkpClientDevice to libdevkit-power 2008-08-11 10:40:22 +01:00
Richard Hughes
72a13ae91d the enums of of DkpDevice origin, not DkpSource 2008-08-10 18:02:48 +01:00
Richard Hughes
50c485fc54 Add DkpObject printing hooks for mouse and keyboard 2008-08-10 08:52:37 +01:00
Richard Hughes
6a498f0487 fix dkp_object_clear to actually do the right thing and not free the object 2008-08-09 08:42:13 +01:00
Richard Hughes
16f2c597aa don't segfault when a history file is present but empty 2008-08-05 12:25:27 +01:00
Richard Hughes
8c4efc79f3 use DkpHistoryObj in devkit-power 2008-08-04 16:25:25 +01:00
Richard Hughes
3f606443b5 add a function dkp_object_diff() to pretty print the differences between two DkpObject's 2008-08-04 14:30:34 +01:00
Richard Hughes
66b6a80722 print a better seconds/minutes/hours text -- needs localising properly 2008-08-04 13:49:41 +01:00
Richard Hughes
74683e3fa7 of course, the right thing to do is make a static lib to avoid playing with ../src/ type paths 2008-08-01 17:27:12 +01:00