Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | in notify.c, improve the logic for when to tear down a notification | Charles Kerr | 2014-07-25 | 1 | -1/+1 |
| | |||||
* | disable the notification's interactive hint for now | Charles Kerr | 2014-07-25 | 1 | -1/+1 |
| | |||||
* | fix bug introduced in previous commit | Charles Kerr | 2014-07-25 | 1 | -0/+1 |
| | |||||
* | in notify, reverse the numerical order of the now-private PowerLevel enum so ↵ | Charles Kerr | 2014-07-24 | 1 | -8/+10 |
| | | | | that they have the more intuitive behavior of higher integer values meaning a better power level. | ||||
* | on the bus, publish the battery's power_level as strings rather than ints | Charles Kerr | 2014-07-24 | 2 | -35/+61 |
| | |||||
* | in notifier.c, remove unnecessary middleman properties and deal with the ↵ | Charles Kerr | 2014-07-24 | 1 | -82/+7 |
| | | | | dbus-battery properties directly. | ||||
* | in notifier.c, fix potential callchain loop when closing a notification | Charles Kerr | 2014-07-24 | 1 | -26/+42 |
| | |||||
* | in notifier, use G_DEFINE_TYPE_WITH_PRIVATE | Charles Kerr | 2014-07-24 | 2 | -30/+23 |
| | |||||
* | remove redundant '#include glib', '#include gobject' calls | Charles Kerr | 2014-07-24 | 3 | -5/+1 |
| | |||||
* | check the return value of g_dbus_interface_skeleton_export() directly ↵ | Charles Kerr | 2014-07-24 | 1 | -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 Kerr | 2014-07-24 | 1 | -2/+0 |
| | |||||
* | in notifier.c, don't keep pointers to the bindings around as they're cleaned ↵ | Charles Kerr | 2014-07-24 | 1 | -15/+11 |
| | | | | up automatically when either of the objects is destroyed. | ||||
* | remove instance_count from IndicatorPowerNotifierClass | Charles Kerr | 2014-07-23 | 2 | -13/+8 |
| | |||||
* | copyediting: slightly better comments. | Charles Kerr | 2014-07-23 | 1 | -7/+8 |
| | |||||
* | make the notifications click-to-dismiss by adding the 'interactive ↵ | Charles Kerr | 2014-07-23 | 1 | -0/+5 |
| | | | | notification' hint | ||||
* | copyediting | Charles Kerr | 2014-07-23 | 1 | -1/+0 |
| | |||||
* | remove now-unused code that tests whether the Notify server supports actions | Charles Kerr | 2014-07-23 | 2 | -24/+0 |
| | |||||
* | make the notification popup decision logic simpler & easier to read | Charles Kerr | 2014-07-22 | 1 | -3/+5 |
| | |||||
* | Filter out some redundant warnings -- e.g., don't notify when the power ↵ | Charles Kerr | 2014-07-22 | 1 | -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 Kerr | 2014-07-22 | 1 | -19/+9 |
| | |||||
* | when a device changes, update the header action state even if the menus ↵ | Charles Kerr | 2014-07-22 | 1 | -3/+3 |
| | | | | haven't been created yet. This fixes a startup condition found by the tests. | ||||
* | copyediting: code cleanup | Charles Kerr | 2014-07-22 | 1 | -6/+12 |
| | |||||
* | in notifier.c, use g_clear_object to unref the GBindings | Charles Kerr | 2014-07-21 | 1 | -2/+2 |
| | |||||
* | add tests for events that change whether or not a 'low battery' notification ↵ | Charles Kerr | 2014-07-21 | 1 | -14/+9 |
| | | | | is being shown | ||||
* | add tests to confirm that the DBus object's PowerLevel property changes at ↵ | Charles Kerr | 2014-07-21 | 2 | -37/+56 |
| | | | | the right times (and only at the right times) when the battery is draining | ||||
* | copyediting | Charles Kerr | 2014-07-21 | 1 | -17/+20 |
| | |||||
* | don't show clickable actions if the Notify server doesn't support them. | Charles Kerr | 2014-07-21 | 2 | -20/+51 |
| | |||||
* | fix build issues | Charles Kerr | 2014-07-21 | 3 | -10/+13 |
| | |||||
* | remove DeviceProvider from Notifier | Charles Kerr | 2014-07-21 | 3 | -151/+136 |
| | |||||
* | second draft of low battery power notifications, still a work in progress | Charles Kerr | 2014-07-21 | 6 | -69/+252 |
| | |||||
* | add first draft of low battery notifications | Charles Kerr | 2014-07-16 | 4 | -4/+413 |
| | |||||
* | in device.h, add #include <gio/gio.h> to pick up needed GIcon declaration | Charles Kerr | 2014-07-16 | 1 | -0/+1 |
| | |||||
* | replace autoconf/automake with cmake | Charles Kerr | 2014-07-13 | 3 | -83/+47 |
| | |||||
* | fix some compiler warnings generated by clang static analyzer | Charles Kerr | 2014-07-13 | 6 | -46/+25 |
| | |||||
* | Remove powerd reference in message | Alberto Aguirre | 2014-06-19 | 1 | -1/+1 |
| | |||||
* | Remove references to powerd since the brightness interface is now provided ↵ | Alberto Aguirre | 2014-06-19 | 4 | -45/+46 |
| | | | | by Unity.Screen | ||||
* | Changes to address setBrightness interface moving from powerd to ↵ | Alberto Aguirre | 2014-06-16 | 1 | -2/+20 |
| | | | | unity-system-compositor | ||||
* | Prefer the 'battery-XXX-charging' (eg, 'battery-020-charging') icons over ↵ | Charles Kerr | 2014-06-11 | 1 | -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 Kerr | 2014-05-05 | 1 | -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: 1289470 | Iain Lane | 2014-06-11 | 1 | -25/+1 |
|\ \ | |||||
| * | | Don't add the brightness entry to the phone profile; it's been removed by design | Iain Lane | 2014-04-15 | 1 | -25/+1 |
| |/ | |||||
* / | updating code to reflect latest powerd dbus API changes | Ricardo Salveti de Araujo | 2014-04-28 | 2 | -7/+10 |
|/ | |||||
* | Use com.canonical.indicator.basic menu item for device items | Lars Uebernickel | 2014-03-28 | 1 | -0/+2 |
|\ | | | | | | | That menu item can handle non-square icons. Fixes: 1263228 | ||||
| * | Use com.canonical.indicator.basic menu item for device items | Lars Uebernickel | 2014-03-27 | 1 | -0/+2 |
| | | | | | | | | | | That menu item can handle non-square icons. | ||||
* | | If there are two batteries detected, combine their percentages and their ↵ | Charles Kerr | 2014-03-28 | 2 | -18/+165 |
|\ \ | | | | | | | | | | time-remainings as per the revised spec. Fixes: 880881, 1297466 | ||||
| * | | sync to lp:indicator-power | Charles Kerr | 2014-03-25 | 3 | -140/+109 |
| |\| | |||||
| * | | add translator comments to the new translatable strings. | Charles Kerr | 2014-03-25 | 1 | -13/+40 |
| | | | |||||
| * | | when choosing a primary device and more than one battery is found, ↵ | Charles Kerr | 2014-03-19 | 1 | -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: 1287599 | Y.C cheng | 2014-03-26 | 4 | -4/+269 |
|\ \ \ | |_|/ |/| | | |||||
| * | | refine and use default value as initial brightness value | Y.C cheng | 2014-03-06 | 2 | -27/+24 |
| | | |