aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* in indicator_power_device_provider_get_devices, confirm that the get_devices ↵Charles Kerr2013-06-191-1/+10
| | | | function pointer isn't NULL before we call it.
* in provider-upower.c, clear its private hashtable in dispose() and destroy ↵Charles Kerr2013-06-191-1/+16
| | | | it in finalize()
* lower the interval on the upower timer to make our updates more responsiveCharles Kerr2013-06-191-1/+1
|
* fix build issue in indicator_power_device_provider_get_devices(), reported ↵Charles Kerr2013-06-191-1/+1
| | | | by CI...
* put the service on the production busnameCharles Kerr2013-06-191-1/+1
|
* tighten the -Wextra screws a little tighterCharles Kerr2013-06-171-6/+4
|
* in device-provider-upower's dispose(), disconnect from our proxy's signal ↵Charles Kerr2013-06-171-4/+11
| | | | before we unref the proxy
* copyediting: group common functions together, fix line wrap, better commentingCharles Kerr2013-06-171-75/+72
|
* update indicator-power build rules to reflect the changes in source code and ↵Charles Kerr2013-06-161-34/+88
| | | | in dependencies
* explicitly use gio; remove unused glib-upower.h callsCharles Kerr2013-06-162-3/+55
|
* add a main() wrapper to create a service and pass a device-provider-upower to itCharles Kerr2013-06-161-0/+101
|
* remove the old IndicatorObject codeCharles Kerr2013-06-162-723/+0
|
* add the heart of the serviceCharles Kerr2013-06-162-0/+1132
|
* add device-provider-upower, a UPower implementation of device-providerCharles Kerr2013-06-162-0/+436
|
* add device-provider, an interface class for an object that provides ↵Charles Kerr2013-06-162-0/+161
| | | | IndicatorPowerDevices. This could be given a UPower implementation, or a mock implementation, or a whatever-replaces-upower-on-phones implementation.
* remove the org.gnome.SettingsDaemon listener; we'll use UPower directlyCharles Kerr2013-06-162-329/+0
|
* add UPower xml files for gdbus-codegenCharles Kerr2013-06-162-0/+748
|
* merge lp:~psusi/ubuntu/raring/indicator-power/show-upsPhillip Susi2013-01-141-1/+2
|
* change indicator_power_device_get_time_details() s.t. the 'short details' ↵Charles Kerr2012-11-071-1/+1
| | | | for an AC Adapter is an empty string.
* when choosing a primary device from devices that are neither charging nor ↵Charles Kerr2012-11-061-14/+36
| | | | discharging, prefer batteries, then everything except line-power, then line power
* when choosing between two devices, always pick the one that's not a ↵Charles Kerr2012-11-061-1/+20
| | | | UP_DEVICE_KIND_LINE_POWER
* copyediting: fix comment textCharles Kerr2012-10-291-1/+1
|
* fix logic error when deciding which primary device to select.Charles Kerr2012-10-261-2/+2
|
* fix copy-paste comment errorCharles Kerr2012-10-261-1/+1
|
* Select the primary device based on the spec's criteria. Add tests to confirm.Charles Kerr2012-10-262-56/+77
|
* fix leaked icon and label; found by running valgrind on tests/test-indicatorCharles Kerr2012-10-261-0/+4
|
* 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 ↵Charles Kerr2012-10-031-1/+2
| | | | full,good,low icons because the former show a more accurate view of the charge.
* get_icon: Plug memory leakLars Uebernickel2012-09-251-0/+1
|
* device.c: include gi18n-lib.h instead of gi18n.hLars Uebernickel2012-09-201-1/+1
| | | | | | The former calls the 'd' variants of the gettext functions and passes the libraries domain in each call.
* remove some dead code.Charles Kerr2012-06-071-19/+4
|
* 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 ↵Charles Kerr2012-06-061-76/+77
| | | | incompatible with reusing code from GSD.
* remove superfluous #includeCharles Kerr2012-06-061-2/+0
|
* simplify the Device properties' name stringsCharles Kerr2012-06-061-5/+5
|
* 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 ↵Charles Kerr2012-06-061-0/+4
| | | | variant has the correct type before using it.
* add G_OBJECT_WARN_INVALID_PROPERTY_ID for the 'default' switch case in ↵Charles Kerr2012-06-061-0/+8
| | | | Device's get/set property methods
* IndicatorObjectDevice's finalize() function needs to chain up to the parent ↵Charles Kerr2012-06-061-0/+2
| | | | class.
* in IndicatorPowerDevice's class init function, use ↵Charles Kerr2012-06-061-26/+39
| | | | g_object_class_install_properties() instead of installing each property separately.
* remove prototype for indicator_power_dbus_listener_new() since it's not ↵Charles Kerr2012-06-061-3/+0
| | | | needed/used
* simplify the devices-enumerated signal's nameCharles Kerr2012-06-062-2/+2
|
* if self->cancellable is non-NULL in dispose(), pass it to ↵Charles Kerr2012-06-061-1/+6
| | | | g_cancellable_cancel() before clearing the listener's reference
* remove trailing whitespaceCharles Kerr2012-06-061-1/+1
|
* add g_bus_unwatch_name() to watcher's dispose() methodCharles Kerr2012-06-061-0/+6
|
* add a GTK-Doc signal comment block for indictor-power-dbus-listener's ↵Charles Kerr2012-06-061-2/+9
| | | | enumerated signal
* move the header files from noinst_HEADERS to libpower_la_SOURCESCharles Kerr2012-06-061-5/+3
|
* In indicator-power.c's put_primary_device(), remove dead code.Charles Kerr2012-06-011-15/+7
|
* copyediting: fix tab damage in dbus-listener.[ch]Charles Kerr2012-06-012-116/+114
|