Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | | |||||
| * | | add GCancellable and cancel it before free | Y.C cheng | 2014-03-05 | 1 | -3/+7 |
| | | | |||||
| * | | brightness parameters as necessary condition to use powerd | Y.C cheng | 2014-03-05 | 3 | -31/+43 |
| | | | |||||
| * | | clean up / wrong code fix | Y.C cheng | 2014-03-05 | 2 | -24/+31 |
| | | | |||||
| * | | set brightness via powerd if it exist (using dbus) | Y.C cheng | 2014-03-03 | 4 | -5/+250 |
| | | | |||||
* | | | add lp:~charlesk/indicator-power/lp-1256872 | Charles Kerr | 2014-03-13 | 1 | -10/+13 |
| | | | |||||
* | | | in the new indicator_power_device_get_*() functions, use ↵ | Charles Kerr | 2014-03-13 | 1 | -3/+5 |
| | | | | | | | | | | | | g_return_val_if_fail(foo, NULL) rather than g_return_if_fail(foo) | ||||
* | | | copyediting: add const, fix misaligned whitespace | Charles Kerr | 2014-03-13 | 1 | -2/+2 |
| | | | |||||
* | | | remove INDICATOR_IS_POWER_DEVICE(device) tests from private functions | Charles Kerr | 2014-03-13 | 1 | -10/+2 |
| | | | |||||
* | | | in the new indicator_power_device_get_*() functions, use heap-allocated ↵ | Charles Kerr | 2014-03-13 | 3 | -117/+89 |
| |/ |/| | | | | | strings rather than relying on g_snprintf(). | ||||
* | | slightly better comments | Charles Kerr | 2014-03-04 | 1 | -13/+12 |
| | | |||||
* | | update the header / menuitem text / accessible text to reflect the changes ↵ | Charles Kerr | 2014-03-04 | 3 | -216/+386 |
|/ | | | | in https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title | ||||
* | device.c: pending_charge means not charging | Ricardo Salveti de Araujo | 2014-01-24 | 1 | -1/+1 |
| | |||||
* | service.c: cache the control center command | Lars Uebernickel | 2014-01-22 | 1 | -13/+20 |
| | |||||
* | service.c: execute unity-control-center on desktops other than unity as well | Lars Uebernickel | 2014-01-22 | 1 | -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 pointer | Lars Uebernickel | 2014-01-22 | 1 | -2/+4 |
| | |||||
* | Add support for opening xfce4-powermanager-settings when in a Xubuntu-session | Simon Steinbeiß | 2014-01-21 | 1 | -6/+10 |
| | |||||
* | Use unity-control-center if it is available | Robert Ancell | 2014-01-10 | 1 | -1/+8 |
| | |||||
* | Focus to battery tab when opening in gnome-power-statistics | Calum Lind | 2013-12-04 | 1 | -3/+8 |
|\ | |||||
| * | Focus to battery tab when opening in gnome-power-statistics | Calum Lind | 2013-11-27 | 1 | -4/+11 |
| | | |||||
* | | Don't keep GSettingsActions around | Lars Uebernickel | 2013-11-29 | 1 | -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_bind | Lars Uebernickel | 2013-11-28 | 1 | -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 Kerr | 2013-11-08 | 1 | -13/+23 |
| | | | | | | | | g_icon_serialize() as floating. | ||||
* | | We really only need to keep a handful of properties up-to-date for each ↵ | Charles Kerr | 2013-11-04 | 3 | -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 Kerr | 2013-11-03 | 1 | -1/+1 |
| | | | |||||
| * | | in on_device_properties_ready(), improve the g_warning() text to be more useful. | Charles Kerr | 2013-11-03 | 1 | -1/+3 |
| | | | |||||
| * | | in on_device_properties_ready(), use g_error_matches | Charles Kerr | 2013-11-03 | 1 | -1/+1 |
| | | | |||||
| * | | don't create proxies for each upower device. | Charles Kerr | 2013-10-03 | 3 | -778/+126 |
| | | | |||||
* | | | Use NULL for empty string | Nick Dedekind | 2013-10-30 | 1 | -1/+1 |
| | | | |||||
* | | | Removed brigtness label from indicator menu | Nick Dedekind | 2013-10-29 | 1 | -1/+1 |
| | | | |||||
* | | | Don't leak the g_file_get_contents value, reported by valgrind | Sebastien Bacher | 2013-10-24 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Added "torch-on" and "torch-off" icons to brightness slider menu item. | Marcus Tomlinson | 2013-10-10 | 1 | -0/+3 |
| | | |||||
* | | Adding an additional slash to the settings URL | Ted Gould | 2013-10-04 | 1 | -1/+1 |
| | | |||||
* | | Listen for the "Resuming" signal from upower to refresh devices when ↵ | Charles Kerr | 2013-10-02 | 2 | -1/+19 |
|\ \ | | | | | | | | | | | | | | | | resuming from suspend/hibernate. Fixes: https://bugs.launchpad.net/bugs/1224931. Approved by Ted Gould, PS Jenkins bot. | ||||
| * | | Listen for the 'Resuming' signal from upower. When it's received, refresh ↵ | Charles Kerr | 2013-10-01 | 1 | -0/+18 |
| | | | | | | | | | | | | all our devices. | ||||
| * | | replace a g_print() call with g_debug() | Charles Kerr | 2013-10-01 | 1 | -1/+1 |
| |/ | |||||
* / | use the correct battery icon when charging/discharging | Charles Kerr | 2013-10-01 | 1 | -8/+1 |
|/ | |||||
* | use g_variant_new_take_string() where appropriate | Charles Kerr | 2013-09-11 | 1 | -11/+2 |
| | |||||
* | add a title entry to the header action's state | Charles Kerr | 2013-09-11 | 1 | -0/+2 |
| | |||||
* | Adding a phone settings action | Ted Gould | 2013-09-04 | 1 | -3/+11 |
| | |||||
* | revert previous commit, liburl-dispatcher1 depends on upstart-app-launch | Sebastien Bacher | 2013-08-30 | 1 | -11/+3 |
| | | | | | which is in universe, that's blocking indicators from landing. | ||||
* | Add a new action for phone settings and call the dispatcher | Ted Gould | 2013-08-29 | 1 | -3/+11 |
| |