aboutsummaryrefslogtreecommitdiff
path: root/src/device.h
Commit message (Collapse)AuthorAgeFilesLines
* remove redundant '#include glib', '#include gobject' callsCharles Kerr2014-07-241-1/+0
|
* in device.h, add #include <gio/gio.h> to pick up needed GIcon declarationCharles Kerr2014-07-161-0/+1
|
* in the new indicator_power_device_get_*() functions, use heap-allocated ↵Charles Kerr2014-03-131-12/+4
| | | | strings rather than relying on g_snprintf().
* update the header / menuitem text / accessible text to reflect the changes ↵Charles Kerr2014-03-041-16/+29
| | | | in https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title
* add show-percentage feature, basing off Haw Loeung's patch.Charles Kerr2013-08-221-15/+16
|
* explicitly use gio; remove unused glib-upower.h callsCharles Kerr2013-06-161-1/+32
|
* simplify the Device properties' name stringsCharles Kerr2012-06-061-5/+5
|
* copyediting: fix tab damage in device.[ch]Charles Kerr2012-06-011-3/+3
|
* Move private indicator-power function build_device_time_details() to ↵Charles Kerr2012-05-311-0/+5
| | | | device.c to public function indicator_power_device_get_time_details() so that we can unit test the user-visible strings.
* remove IndicatorPowerDevice's now-unused device icon string.Charles Kerr2012-05-311-3/+0
|
* Add indicator_power_device_get_icon_names().Charles Kerr2012-05-311-0/+5
| | | | | | | The main goal of this change is to make it possible to test the device's icon. A secondary goal is to clarify in the code how indicator-power's icons differ from the ones recommended by GSD.
* add private container struct IndicatorPowerDeviceCharles Kerr2012-05-241-0/+100