aboutsummaryrefslogtreecommitdiff
path: root/src/device.c
Commit message (Expand)AuthorAgeFilesLines
* sync to lp:indicator-powerCharles Kerr2014-03-251-101/+68
|\
| * in the new indicator_power_device_get_*() functions, use g_return_val_if_fail...Charles Kerr2014-03-131-3/+5
| * copyediting: add const, fix misaligned whitespaceCharles Kerr2014-03-131-2/+2
| * remove INDICATOR_IS_POWER_DEVICE(device) tests from private functionsCharles Kerr2014-03-131-10/+2
| * in the new indicator_power_device_get_*() functions, use heap-allocated strin...Charles Kerr2014-03-131-87/+60
* | add translator comments to the new translatable strings.Charles Kerr2014-03-251-13/+40
|/
* slightly better commentsCharles Kerr2014-03-041-13/+12
* update the header / menuitem text / accessible text to reflect the changes in...Charles Kerr2014-03-041-162/+312
* device.c: pending_charge means not chargingRicardo Salveti de Araujo2014-01-241-1/+1
* use the correct battery icon when charging/dischargingCharles Kerr2013-10-011-8/+1
* as per the changes in https://wiki.ubuntu.com/Power?action=diff&rev2=39&rev1=...Charles Kerr2013-08-231-2/+2
* copyediting: more descriptive comments when building label/header/a11y textCharles Kerr2013-08-231-11/+16
* copyediting: remove trailing spaces in source codeCharles Kerr2013-08-221-1/+1
* add show-percentage feature, basing off Haw Loeung's patch.Charles Kerr2013-08-221-57/+116
* explicitly use gio; remove unused glib-upower.h callsCharles Kerr2013-06-161-2/+23
* change indicator_power_device_get_time_details() s.t. the 'short details' for...Charles Kerr2012-11-071-1/+1
* fix copy-paste comment errorCharles Kerr2012-10-261-1/+1
* Fix unhandled enum 'unknown device' that was smoked out by the unit tests.Charles Kerr2012-10-261-0/+4
* the device kind string wasn't being used in some icon names.Charles Kerr2012-10-251-14/+14
* when discharging the battery, prefer the percent-charged icons over the full,...Charles Kerr2012-10-031-1/+2
* device.c: include gi18n-lib.h instead of gi18n.hLars Uebernickel2012-09-201-1/+1
* improve the variant sanity tests in indicator_power_device_new_from_variant()Charles Kerr2012-06-071-3/+1
* reimplement indicator_power_device_get_icon_names() since our CA is incompati...Charles Kerr2012-06-061-76/+77
* For GTK-Doc, reference functions with function_name() instead of #function_nameCharles Kerr2012-06-061-1/+1
* In indicator_power_device_new_from_variant(), check whether the input variant...Charles Kerr2012-06-061-0/+4
* add G_OBJECT_WARN_INVALID_PROPERTY_ID for the 'default' switch case in Device...Charles Kerr2012-06-061-0/+8
* IndicatorObjectDevice's finalize() function needs to chain up to the parent c...Charles Kerr2012-06-061-0/+2
* in IndicatorPowerDevice's class init function, use g_object_class_install_pro...Charles Kerr2012-06-061-26/+39
* copyediting: fix tab damage in device.[ch]Charles Kerr2012-06-011-174/+176
* In indicator_power_device_get_time_details(), add a test for non-devices bein...Charles Kerr2012-06-011-0/+9
* Fix edge case in indicator_power_device_get_icon_names() that returned a bad ...Charles Kerr2012-06-011-1/+1
* In indicator_power_device_get_time_details(), use g_strdup(foo) instead of g_...Charles Kerr2012-06-011-2/+2
* capitalize the second word in 'AC Adapter'Charles Kerr2012-06-011-1/+1
* in indicator_power_device_get_time_details(), don't list 'not present' for AC...Charles Kerr2012-06-011-1/+8
* In indicator_power_device_get_time_details(), remove an unlikely branch that ...Charles Kerr2012-06-011-42/+30
* in indicator_power_device_get_time_details(), limit the scope of variables sh...Charles Kerr2012-05-311-3/+3
* Move private indicator-power function build_device_time_details() to device.c...Charles Kerr2012-05-311-0/+195
* remove IndicatorPowerDevice's now-unused device icon string.Charles Kerr2012-05-311-126/+0
* Add indicator_power_device_get_icon_names().Charles Kerr2012-05-311-1/+242
* use g_clear_pointer() where usefulCharles Kerr2012-05-291-6/+2
* try adding LCOV_EXCL_{START,STOP} for unreachable conditions (glib looking fo...Charles Kerr2012-05-261-3/+17
* nope, LCOV_EXCL_LINE doesn't work on macrosCharles Kerr2012-05-261-7/+7
* try adding LCOV_EXCL_LINE for unreachable conditions (glib looking for subcla...Charles Kerr2012-05-261-7/+7
* remove the 'default' clause from get_property() and set_property().Charles Kerr2012-05-241-8/+0
* remove some unnecessary type compatibilty tests... g_object_get_property() do...Charles Kerr2012-05-241-6/+0
* remove some unnecessary type compatibilty tests... g_object_set_property() do...Charles Kerr2012-05-241-6/+0
* remove the g_clear_pointer() calls s.t. things will build and run on alesage'...Charles Kerr2012-05-241-2/+6
* add private container struct IndicatorPowerDeviceCharles Kerr2012-05-241-0/+330