aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* check the return value of g_dbus_interface_skeleton_export() directly ↵Charles Kerr2014-07-241-5/+4
| | | | instead of indirectly testing to see if the GError it used is nonnull.
* don't set to zero fields in a struct that's been calloc()ed already.Charles Kerr2014-07-241-2/+0
|
* in notifier.c, don't keep pointers to the bindings around as they're cleaned ↵Charles Kerr2014-07-241-15/+11
| | | | up automatically when either of the objects is destroyed.
* remove instance_count from IndicatorPowerNotifierClassCharles Kerr2014-07-232-13/+8
|
* copyediting: slightly better comments.Charles Kerr2014-07-231-7/+8
|
* make the notifications click-to-dismiss by adding the 'interactive ↵Charles Kerr2014-07-231-0/+5
| | | | notification' hint
* copyeditingCharles Kerr2014-07-231-1/+0
|
* remove now-unused code that tests whether the Notify server supports actionsCharles Kerr2014-07-232-24/+0
|
* make the notification popup decision logic simpler & easier to readCharles Kerr2014-07-221-3/+5
|
* Filter out some redundant warnings -- e.g., don't notify when the power ↵Charles Kerr2014-07-221-4/+16
| | | | percentage drops from 10% to 9%, only when it crosses a PowerLevel threshold
* for now, only show Ephemeral notifications when the battery gets low.Charles Kerr2014-07-221-19/+9
|
* when a device changes, update the header action state even if the menus ↵Charles Kerr2014-07-221-3/+3
| | | | haven't been created yet. This fixes a startup condition found by the tests.
* copyediting: code cleanupCharles Kerr2014-07-221-6/+12
|
* in notifier.c, use g_clear_object to unref the GBindingsCharles Kerr2014-07-211-2/+2
|
* add tests for events that change whether or not a 'low battery' notification ↵Charles Kerr2014-07-211-14/+9
| | | | is being shown
* add tests to confirm that the DBus object's PowerLevel property changes at ↵Charles Kerr2014-07-212-37/+56
| | | | the right times (and only at the right times) when the battery is draining
* copyeditingCharles Kerr2014-07-211-17/+20
|
* don't show clickable actions if the Notify server doesn't support them.Charles Kerr2014-07-212-20/+51
|
* fix build issuesCharles Kerr2014-07-213-10/+13
|
* remove DeviceProvider from NotifierCharles Kerr2014-07-213-151/+136
|
* second draft of low battery power notifications, still a work in progressCharles Kerr2014-07-216-69/+252
|
* add first draft of low battery notificationsCharles Kerr2014-07-164-4/+413
|
* in device.h, add #include <gio/gio.h> to pick up needed GIcon declarationCharles Kerr2014-07-161-0/+1
|
* 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().