aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
Commit message (Collapse)AuthorAgeFilesLines
* in the new device-state action state, use the string 'unknown' if no primary ↵Charles Kerr2015-01-301-4/+4
| | | | device is found.
* publish a device state for the benefit of u-s-sCharles Kerr2015-01-301-7/+80
|
* make service's bus connection a property so that IndicatorPowerTesting can ↵Charles Kerr2014-10-141-0/+13
| | | | listen for it and export an object before the name is acquired
* Add Switchboard as alternative recommend Fixes: 1291051Cody Garver2014-10-091-0/+4
|\ | | | | | | Approved by: Ted Gould, PS Jenkins bot
| * Uppercase PantheonCody Garver2014-04-091-1/+1
| |
| * Use XDG_CURRENT_DESKTOP insteadCody Garver2014-04-091-1/+1
| |
| * Add support for Switchboard when in Pantheon session to fix bug #1291051Cody Garver2014-03-151-0/+4
| |
* | add an 'auto brightness' checkboxCharles Kerr2014-09-111-15/+72
| |
* | fix typo; change g_message() calls to g_debug(); use same percentage range ↵Charles Kerr2014-09-101-5/+3
| | | | | | | | as ubuntu-system-settings
* | first draft of non-blocking powerd/uscreen brightness implCharles Kerr2014-09-101-75/+33
| |
* | 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.
* | fix build issuesCharles Kerr2014-07-211-3/+3
| |
* | remove DeviceProvider from NotifierCharles Kerr2014-07-211-3/+7
| |
* | second draft of low battery power notifications, still a work in progressCharles Kerr2014-07-211-0/+11
| |
* | fix some compiler warnings generated by clang static analyzerCharles Kerr2014-07-131-24/+9
| |
* | Remove references to powerd since the brightness interface is now provided ↵Alberto Aguirre2014-06-191-14/+14
| | | | | | | | by Unity.Screen
* | Don't add the brightness entry to the phone profile; it's been removed by designIain Lane2014-04-151-25/+1
| |
* | 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-281-5/+125
|\ \ | | | | | | | | | time-remainings as per the revised spec. Fixes: 880881, 1297466
| * | sync to lp:indicator-powerCharles Kerr2014-03-251-27/+37
| |\|
| * | 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-261-4/+44
|\ \ \ | |_|/ |/| |
| * | refine and use default value as initial brightness valueY.C cheng2014-03-061-4/+4
| | |
| * | brightness parameters as necessary condition to use powerdY.C cheng2014-03-051-2/+3
| | |
| * | clean up / wrong code fixY.C cheng2014-03-051-16/+12
| | |
| * | set brightness via powerd if it exist (using dbus)Y.C cheng2014-03-031-5/+48
| | |
* | | add lp:~charlesk/indicator-power/lp-1256872Charles Kerr2014-03-131-10/+13
| | |
* | | in the new indicator_power_device_get_*() functions, use heap-allocated ↵Charles Kerr2014-03-131-18/+25
| |/ |/| | | | | strings rather than relying on g_snprintf().
* | update the header / menuitem text / accessible text to reflect the changes ↵Charles Kerr2014-03-041-38/+45
|/ | | | in https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title
* 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.
* | Use NULL for empty stringNick Dedekind2013-10-301-1/+1
| |
* | Removed brigtness label from indicator menuNick Dedekind2013-10-291-1/+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
|
* 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
|
* copyediting: some newly-dead code should have been removed instead of just ↵Charles Kerr2013-08-231-2/+0
| | | | commented out