aboutsummaryrefslogtreecommitdiff
path: root/src/device.h
Commit message (Collapse)AuthorAgeFilesLines
* Do not use charge-aware icons in the menuRobert Tari2023-05-051-1/+1
|
* Use the device model name in the menuRobert Tari2023-05-051-2/+5
|
* Show battery level for all devices (including bluetooth)Robert Tari2023-04-031-1/+17
| | | | fixes https://gitlab.com/ubports/development/core/packaging/ayatana-indicators/ayatana-indicator-bluetooth/-/issues/3
* Theming fix: Separate panel icons from the power menu iconsRobert Tari2022-11-101-2/+4
| | | | | | This fixes the broken theming issue where the Power Indicator menu shows the same icons as used by the panel, rather than the ones used elsewhere on the system. End result: makes any theme capable of becoming Ayatana-friendly without hacks
* Add support for gaming-input devices with internal batteriesMartin Wimpress2022-04-051-0/+1
| | | | | | This pull requests add support for battery powered gaming-input devices. Tested with Razer Wolverine V2 Chroma and Scuf Instinct Pro. See: https://pad.lv/1967854
* Make device with power supply has higher sorting priority. (LP: #1100546)Charles Kerr2017-05-151-1/+4
|
* remove redundant '#include glib', '#include gobject' callsCharles Kerr2014-07-241-1/+0
|
* in device.h, add #include <gio/gio.h> to pick up needed GIcon declarationCharles Kerr2014-07-161-0/+1
|
* in the new indicator_power_device_get_*() functions, use heap-allocated ↵Charles Kerr2014-03-131-12/+4
| | | | strings rather than relying on g_snprintf().
* update the header / menuitem text / accessible text to reflect the changes ↵Charles Kerr2014-03-041-16/+29
| | | | in https://wiki.ubuntu.com/Power?action=diff&rev2=44&rev1=43#Title
* add show-percentage feature, basing off Haw Loeung's patch.Charles Kerr2013-08-221-15/+16
|
* explicitly use gio; remove unused glib-upower.h callsCharles Kerr2013-06-161-1/+32
|
* simplify the Device properties' name stringsCharles Kerr2012-06-061-5/+5
|
* copyediting: fix tab damage in device.[ch]Charles Kerr2012-06-011-3/+3
|
* Move private indicator-power function build_device_time_details() to ↵Charles Kerr2012-05-311-0/+5
| | | | device.c to public function indicator_power_device_get_time_details() so that we can unit test the user-visible strings.
* remove IndicatorPowerDevice's now-unused device icon string.Charles Kerr2012-05-311-3/+0
|
* Add indicator_power_device_get_icon_names().Charles Kerr2012-05-311-0/+5
| | | | | | | The main goal of this change is to make it possible to test the device's icon. A secondary goal is to clarify in the code how indicator-power's icons differ from the ones recommended by GSD.
* add private container struct IndicatorPowerDeviceCharles Kerr2012-05-241-0/+100