aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* replace autoconf/automake with cmakeCharles Kerr2014-07-133-83/+47
|
* fix some compiler warnings generated by clang static analyzerCharles Kerr2014-07-136-46/+25
|
* Remove powerd reference in messageAlberto Aguirre2014-06-191-1/+1
|
* Remove references to powerd since the brightness interface is now provided ↵Alberto Aguirre2014-06-194-45/+46
| | | | by Unity.Screen
* Changes to address setBrightness interface moving from powerd to ↵Alberto Aguirre2014-06-161-2/+20
| | | | unity-system-compositor
* Prefer the 'battery-XXX-charging' (eg, 'battery-020-charging') icons over ↵Charles Kerr2014-06-111-1/+2
|\ | | | | | | the 'battery-low-charging' ones because the former are more precise and likely closer to the actual battery level. Fixes: 1186181
| * prefer the 'battery-020-charging' icon to the 'battery-low-charging' one ↵Charles Kerr2014-05-051-1/+2
| | | | | | | | because the former is more precise so its icon is more likely to be close to the actual actual battery level.
* | Remove the brightness slider from the phone menu. Fixes: 1289470Iain Lane2014-06-111-25/+1
|\ \
| * | Don't add the brightness entry to the phone profile; it's been removed by designIain Lane2014-04-151-25/+1
| |/
* / updating code to reflect latest powerd dbus API changesRicardo Salveti de Araujo2014-04-282-7/+10
|/
* Use com.canonical.indicator.basic menu item for device itemsLars Uebernickel2014-03-281-0/+2
|\ | | | | | | That menu item can handle non-square icons. Fixes: 1263228
| * Use com.canonical.indicator.basic menu item for device itemsLars Uebernickel2014-03-271-0/+2
| | | | | | | | | | That menu item can handle non-square icons.
* | If there are two batteries detected, combine their percentages and their ↵Charles Kerr2014-03-282-18/+165
|\ \ | | | | | | | | | time-remainings as per the revised spec. Fixes: 880881, 1297466
| * | sync to lp:indicator-powerCharles Kerr2014-03-253-140/+109
| |\|
| * | add translator comments to the new translatable strings.Charles Kerr2014-03-251-13/+40
| | |
| * | when choosing a primary device and more than one battery is found, ↵Charles Kerr2014-03-191-5/+125
| | | | | | | | | | | | accumulate their percentages and time-remaining properties as per the spec revisions in bug #880881.
* | | Set brightness via powerd if it exist (using dbus) Fixes: 1287599Y.C cheng2014-03-264-4/+269
|\ \ \ | |_|/ |/| |
| * | refine and use default value as initial brightness valueY.C cheng2014-03-062-27/+24
| | |
| * | add GCancellable and cancel it before freeY.C cheng2014-03-051-3/+7
| | |
| * | brightness parameters as necessary condition to use powerdY.C cheng2014-03-053-31/+43
| | |
| * | clean up / wrong code fixY.C cheng2014-03-052-24/+31
| | |
| * | set brightness via powerd if it exist (using dbus)Y.C cheng2014-03-034-5/+250
| | |
* | | add lp:~charlesk/indicator-power/lp-1256872Charles Kerr2014-03-131-10/+13
| | |
* | | in the new indicator_power_device_get_*() functions, use ↵Charles Kerr2014-03-131-3/+5
| | | | | | | | | | | | g_return_val_if_fail(foo, NULL) rather than g_return_if_fail(foo)
* | | 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 ↵Charles Kerr2014-03-133-117/+89
| |/ |/| | | | | strings rather than relying on g_snprintf().
* | slightly better commentsCharles Kerr2014-03-041-13/+12
| |
* | update the header / menuitem text / accessible text to reflect the changes ↵Charles Kerr2014-03-043-216/+386
|/ | | | in https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title
* device.c: pending_charge means not chargingRicardo Salveti de Araujo2014-01-241-1/+1
|
* service.c: cache the control center commandLars Uebernickel2014-01-221-13/+20
|
* service.c: execute unity-control-center on desktops other than unity as wellLars Uebernickel2014-01-221-3/+5
| | | | | | The fallback session uses the indicators as well but doesn't have $XDG_CURRENT_DESKTOP set to "Unity".
* service.c: remove free() on uninitialized pointerLars Uebernickel2014-01-221-2/+4
|
* Add support for opening xfce4-powermanager-settings when in a Xubuntu-sessionSimon Steinbeiß2014-01-211-6/+10
|
* Use unity-control-center if it is availableRobert Ancell2014-01-101-1/+8
|
* Focus to battery tab when opening in gnome-power-statisticsCalum Lind2013-12-041-3/+8
|\
| * Focus to battery tab when opening in gnome-power-statisticsCalum Lind2013-11-271-4/+11
| |
* | Don't keep GSettingsActions aroundLars Uebernickel2013-11-291-24/+10
| | | | | | | | | | | | | | | | | | | | They were only kept around so that a notify handler could be disconnected. Since the GSettings object is the canonical source of that data, it makes more sense to listen to changes there instead of on the action objects. That was already done for the one remaining key in the schema. This patch changes that to rebuild the header when any key changes.
* | Use GSettingsActions instead of g_settings_bindLars Uebernickel2013-11-281-53/+8
| | | | | | | | | | | | This also fixes a bug: the actions were created stateless, but assigned a state later.
* | fix a minor memory leak that was caused by treating the variant returned by ↵Charles Kerr2013-11-081-13/+23
| | | | | | | | g_icon_serialize() as floating.
* | We really only need to keep a handful of properties up-to-date for each ↵Charles Kerr2013-11-043-778/+128
|\ \ | | | | | | | | | | | | | | | | | | | | | upower device. Given that upower requires us to refetch all properties with GetAll whenever it signals that it's changed, we really don't need to keep bus proxies alive for each device. Removing the autogenerated proxy code and just using a couple of the direct GDBusConnection API calls cuts out some unnecessary overhead according to health-check. See the before & after profile logs attached to the ticket. Fixes: https://bugs.launchpad.net/bugs/1221871. Approved by Lars Uebernickel, PS Jenkins bot.
| * | in on_bus_ready(), use g_error_matches().Charles Kerr2013-11-031-1/+1
| | |
| * | in on_device_properties_ready(), improve the g_warning() text to be more useful.Charles Kerr2013-11-031-1/+3
| | |
| * | in on_device_properties_ready(), use g_error_matchesCharles Kerr2013-11-031-1/+1
| | |
| * | don't create proxies for each upower device.Charles Kerr2013-10-033-778/+126
| | |
* | | Use NULL for empty stringNick Dedekind2013-10-301-1/+1
| | |
* | | Removed brigtness label from indicator menuNick Dedekind2013-10-291-1/+1
| | |
* | | Don't leak the g_file_get_contents value, reported by valgrindSebastien Bacher2013-10-241-0/+1
| |/ |/|
* | Added "torch-on" and "torch-off" icons to brightness slider menu item.Marcus Tomlinson2013-10-101-0/+3
| |
* | Adding an additional slash to the settings URLTed Gould2013-10-041-1/+1
| |