Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src/service.c: Assign copyright to Robert Tari, not AyatanaIndicators project. | Mike Gabriel | 2021-11-18 | 1 | -1/+1 |
| | |||||
* | src/: Typo fix in license header. | Mike Gabriel | 2021-11-18 | 1 | -1/+1 |
| | |||||
* | Pull in many fixes from the bionic branch. (#7) | Rodney | 2021-08-28 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pay attention to $SNAP prefix * Releasing 12.10.6+17.04.20161201-0ubuntu1 * give sorting priority to devices with power supplies * Releasing 12.10.6+17.04.20170116-0ubuntu1 * Remove old autostart files. * Use gmock module from cmake-extras. * Use coverage support from cmake-extras. * Add gcovr and lcov dependencies. * Use intltool support from cmake-extras. * Remove usage of extra GCOV variables. * Remove hard-coded -g compiler flag. * Releasing 12.10.6+17.04.20170210-0ubuntu1 * no change rebuild * Releasing 12.10.6+17.04.20170322-0ubuntu1 * Start indicator in systemd when indicators.target is started * Build for bionic * This is still xenial. * Update translations from launchpad too. | ||||
* | handle service_set_notifier(NULL) gracefully | charles kerr | 2021-08-28 | 1 | -2/+6 |
| | |||||
* | update copyright dates on changed files (again) | charles kerr | 2021-08-28 | 1 | -6/+6 |
| | |||||
* | fix notifier property in service | charles kerr | 2021-08-28 | 1 | -0/+7 |
| | |||||
* | make a SoundPlayer interface so we can mock it in the tests | charles kerr | 2021-08-28 | 1 | -4/+34 |
| | | | | | | | | this requires an annoying amount of scaffolding: 1. implement gst and mock classes to implement the SoundPlayer interface 2. modify notifier to take a SoundPlayer argument in its ctor 3. modify service to take a Notifier argument in its ctor instead of instantiating it on its own 4. change main to update the startup steps for player/notifier/service | ||||
* | Don't prioritize discharging items with no time estimate that have more than ↵ | Marc Deslauriers | 2021-08-28 | 1 | -6/+14 |
| | | | | | | | | | | | | | | 10% power remaining. Devices with no time estimates are most likely low-power devices that have long-lasting batteries, such as a mouse with AA batteries. For those type of devices that contain batteries that last weeks, there is no value in displaying their status in preference to devices that have a rapid charge/discharge cycle. However, there is value in knowing if the device has a battery that needs replacing imminently, so only display it if it falls to a 10% charge or under. | ||||
* | Use prefixed libayatana-common symbols | Robert Tari | 2021-05-17 | 1 | -6/+6 |
| | |||||
* | Always show indicator, use icon policy only on Lomiri | Robert Tari | 2021-05-03 | 1 | -0/+5 |
| | |||||
* | Add Budgie desktop support. | Robert Tari | 2021-05-03 | 1 | -1/+1 |
| | | | | Fixes AyatanaIndicators/ayatana-indicator-power#2 | ||||
* | Add us to the copyright headers | Robert Tari | 2021-05-03 | 1 | -0/+2 |
| | |||||
* | Move redundant code portions into libayatana-common and build against it. | Robert Tari | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | service.c: Drop indicator settings items | Robert Tari | 2020-11-16 | 1 | -8/+0 |
| | |||||
* | Fix deprecations and build warnings. | Robert Tari | 2020-09-04 | 1 | -10/+4 |
| | | | | Fixes AyatanaIndicators/ayatana-indicator-power#9. | ||||
* | Replace x-canonical attributes | Robert Tari | 2020-08-11 | 1 | -7/+7 |
| | |||||
* | Do not divide by battery size if percent less than 0.01 | BirdZhang | 2020-08-06 | 1 | -2/+4 |
| | |||||
* | src/service.c: Adapt indicator attribute for flashlight switch to ayatana-ido. | Mike Gabriel | 2018-03-25 | 1 | -1/+1 |
| | |||||
* | Added warning to avoid overheating of the LED. | Jan Sprinz (NeoTheThird) | 2018-03-25 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | Ported from UBports power indicator: commit ef020b31be15f1126d3e5ea5ec399179aad586b8 Author: Jan Sprinz (NeoTheThird) <neo@neothethird.de> Date: Sat Sep 16 16:02:50 2017 +0200 Forgot semicolon *blush* commit c8be2d9a142e17bdfa86ee68e23a18ba0680c244 Author: Jan Sprinz (NeoTheThird) <neo@neothethird.de> Date: Sat Sep 16 15:53:29 2017 +0200 Change var name commit 3d6a37503bafcbf397220dcfac5624a686f2f900 Author: Jan Sprinz (NeoTheThird) <neo@neothethird.de> Date: Sat Sep 16 14:24:05 2017 +0200 Added warning to avoid overheating of the LED Ported-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | ||||
* | Add basic flashlight support. | Marius Gripsgard | 2018-03-25 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | Ported from UBPorts power indicator: commit efef6f25f378021c99b3078958482b3c4ffc43a2 Author: Marius Gripsgard <mariogrip@ubuntu.com> Date: Sun Aug 13 00:09:01 2017 +0200 Add support for other flashlight sysfs paths commit 3f4339876ddb586b75a73fab51a54b1d4d54fdd1 Author: Marius Gripsgard <mariogrip@ubuntu.com> Date: Fri Jul 28 21:23:54 2017 +0200 Add basic support for QCOM flashlight, Fixes https://github.com/ubports/ubports-touch/issues/79 This does not work on non QCOM devices Ported-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | ||||
* | src/{service.c,utils.c}: Fix grammar flaw in zenity warning. | Mike Gabriel | 2018-03-16 | 1 | -1/+1 |
| | |||||
* | Add fallback code that produces a warning (using zenity), if we don't know ↵ | Mike Gabriel | 2018-03-15 | 1 | -0/+6 |
| | | | | how to handle certain actions. | ||||
* | src/service.c: Use desktop detection functions in 'on_statistics_activated()'. | Mike Gabriel | 2018-03-12 | 1 | -3/+3 |
| | |||||
* | Make URL dispatcher build-dependency optional and handle battery settings ↵ | Mike Gabriel | 2018-03-12 | 1 | -53/+3 |
| | | | | request appropriately. | ||||
* | Revert "Drop unnecessary dependency on Ubuntu's url-dispatcher." | Mike Gabriel | 2018-03-12 | 1 | -1/+16 |
| | | | | This reverts commit 0a9cc2a474ff583c928e109468f20330aae0603c. | ||||
* | src/service.s: Fix x-canonical-type of the brightness slider building ↵ | Mike Gabriel | 2017-06-02 | 1 | -1/+1 |
| | | | | against ayatana-ido. | ||||
* | src/service.c: Prefer mate-power-statistics to gnome-power-statistics if in ↵ | Mike Gabriel | 2017-05-31 | 1 | -4/+14 |
| | | | | a MATE session. | ||||
* | src/service.c: Know about DESKTOP_SESSION xfce as well (not only about xubuntu). | Mike Gabriel | 2017-05-31 | 1 | -1/+1 |
| | |||||
* | Another fix-up for previous commits: keep org.ayatana.indicator namespace ↵ | Mike Gabriel | 2017-05-16 | 1 | -4/+4 |
| | | | | for indicator types. | ||||
* | One step back... Mimick Canonical's API. Use their namespace for item ↵ | Mike Gabriel | 2017-05-15 | 1 | -6/+6 |
| | | | | attributes. | ||||
* | Make device with power supply has higher sorting priority. (LP: #1100546) | Charles Kerr | 2017-05-15 | 1 | -6/+22 |
| | |||||
* | Fix bug that chose the wrong header icon if a connected device has a charge ↵ | Charles Kerr | 2017-05-15 | 1 | -1/+19 |
| | | | | but its charging/discharging state is unknown. (LP: #1470080). | ||||
* | Drop unnecessary dependency on Ubuntu's url-dispatcher. | Mike Gabriel | 2015-11-12 | 1 | -16/+1 |
| | |||||
* | Fork from Ubuntu's indicator-power code project. | Mike Gabriel | 2015-11-12 | 1 | -9/+9 |
| | |||||
* | under unity8 start system-settings instead unity-control-center | Sebastien Bacher | 2015-08-27 | 1 | -1/+6 |
| | |||||
* | better checking on whether or not menus are built. | Charles Kerr | 2015-05-14 | 1 | -1/+3 |
| | |||||
* | Change sort order to prefer items with known time remaining | Marc Deslauriers | 2015-04-02 | 1 | -6/+23 |
|\ | | | | | | | Approved by: Charles Kerr, PS Jenkins bot | ||||
| * | * Change sort order to prefer items with known time remaining | Marc Deslauriers | 2015-03-10 | 1 | -6/+23 |
| | | | | | | | | | | (LP: #1315434) | ||||
* | | This merge proposal adds support for MATE Desktop. | Ubuntu MATE Developers | 2015-04-02 | 1 | -0/+4 |
|\ \ | | | | | | | | | | Approved by: Ted Gould | ||||
| * | | Added support for MATE. | Ubuntu MATE Developers | 2015-02-25 | 1 | -0/+4 |
| |/ | |||||
* | | oops, forgot to commit this tyop fix before pushing | Charles Kerr | 2015-03-31 | 1 | -1/+1 |
| | | |||||
* | | use a GThemedIcon | Charles Kerr | 2015-03-02 | 1 | -2/+9 |
| | | |||||
* | | in the brightness slider, use the display-brightness-min and ↵ | Charles Kerr | 2015-03-02 | 1 | -2/+2 |
|/ | | | | display-brightness-max icons. | ||||
* | in the new device-state action state, use the string 'unknown' if no primary ↵ | Charles Kerr | 2015-01-30 | 1 | -4/+4 |
| | | | | device is found. | ||||
* | publish a device state for the benefit of u-s-s | Charles Kerr | 2015-01-30 | 1 | -7/+80 |
| | |||||
* | make service's bus connection a property so that IndicatorPowerTesting can ↵ | Charles Kerr | 2014-10-14 | 1 | -0/+13 |
| | | | | listen for it and export an object before the name is acquired | ||||
* | Add Switchboard as alternative recommend Fixes: 1291051 | Cody Garver | 2014-10-09 | 1 | -0/+4 |
|\ | | | | | | | Approved by: Ted Gould, PS Jenkins bot | ||||
| * | Uppercase Pantheon | Cody Garver | 2014-04-09 | 1 | -1/+1 |
| | | |||||
| * | Use XDG_CURRENT_DESKTOP instead | Cody Garver | 2014-04-09 | 1 | -1/+1 |
| | | |||||
| * | Add support for Switchboard when in Pantheon session to fix bug #1291051 | Cody Garver | 2014-03-15 | 1 | -0/+4 |
| | |