aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
| |
* | Listen for the "Resuming" signal from upower to refresh devices when ↵Charles Kerr2013-10-022-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 Kerr2013-10-011-0/+18
| | | | | | | | | | | | all our devices.
| * | replace a g_print() call with g_debug()Charles Kerr2013-10-011-1/+1
| |/
* / use the correct battery icon when charging/dischargingCharles Kerr2013-10-011-8/+1
|/
* use g_variant_new_take_string() where appropriateCharles Kerr2013-09-111-11/+2
|
* add a title entry to the header action's stateCharles Kerr2013-09-111-0/+2
|
* Adding a phone settings actionTed Gould2013-09-041-3/+11
|
* revert previous commit, liburl-dispatcher1 depends on upstart-app-launchSebastien Bacher2013-08-301-11/+3
| | | | | which is in universe, that's blocking indicators from landing.
* Add a new action for phone settings and call the dispatcherTed Gould2013-08-291-3/+11
|
* as per the changes in ↵Charles Kerr2013-08-231-2/+2
| | | | https://wiki.ubuntu.com/Power?action=diff&rev2=39&rev1=38, hide the discharge time remaining if it's > 24 hours
* copyediting: some newly-dead code should have been removed instead of just ↵Charles Kerr2013-08-231-2/+0
| | | | commented out
* copyediting: more descriptive comments when building label/header/a11y textCharles Kerr2013-08-231-11/+16
|
* copyediting: remove trailing spaces in source codeCharles Kerr2013-08-223-3/+3
|
* don't use deprecated GSimpleActionGroup APIsCharles Kerr2013-08-221-5/+5
|
* add show-percentage feature, basing off Haw Loeung's patch.Charles Kerr2013-08-223-148/+201
|
* add schema changes from hloeung's branchCharles Kerr2013-08-221-0/+1
|
* copyediting: trivial dead code removalCharles Kerr2013-08-191-2/+1
|
* make the brightness slider work correctly in both unity8 and idoCharles Kerr2013-08-194-140/+44
|
* in ib_brightness_control_set_value(), log the strerror when write() fails.Charles Kerr2013-08-191-1/+7
|
* add ib-brightness-control for phone menuCharles Kerr2013-08-196-6/+376
|
* Restore coverage flags.Allan LeSage2013-08-071-5/+15
|
* set the phone menu's battery-level action's 'enabled' flag to false so that ↵Charles Kerr2013-07-241-0/+1
| | | | it won't be clickable, as per the spec.
* add a profile for the phone's power indicator ↵Charles Kerr2013-07-241-9/+68
| | | | https://wiki.ubuntu.com/Power#Phone
* rename create_devices_section as create_desktop_devices_section since we're ↵Charles Kerr2013-07-231-8/+8
| | | | about to add a sibling create_phone_devices_section
* Put service into libexecdirLars Uebernickel2013-07-041-1/+1
|