aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
Commit message (Collapse)AuthorAgeFilesLines
* dbus: Add power percentage and is dischargingpersonal/mariogrip/dbus-updatesMarius Gripsgard2023-09-181-0/+18
| | | | This exposes power percentage and is discharging to the dbus interface.
* Remove orphan osd-notify remnantsRobert Tari2023-09-091-4/+0
|
* src/notifier.c: Do not access freed variableRobert Tari2023-08-041-2/+3
|
* Theming fix: Separate panel icons from the power menu iconsRobert Tari2022-11-101-1/+1
| | | | | | 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
* Get Lomiri sounds path from lomiri-sounds pkg-configRobert Tari2022-02-231-4/+8
|
* Make Lomiri features configurable at build timeRobert Tari2022-02-181-6/+6
|
* Check for lomiri-schemas package instead of individual filesRobert Tari2021-12-151-6/+6
|
* Drop Low battery.ogg and adapt code to use Lomiri soundsRobert Tari2021-11-221-1/+2
| | | | https://github.com/AyatanaIndicators/ayatana-indicator-power/issues/49
* Rename Lomiri-specific properties to x-lomiriRobert Tari2021-11-091-4/+4
|
* *_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS to HAS_LOMIRI_ACCTSERVICE_SOUNDRobert Tari2021-11-011-6/+6
|
* Rename x-canonical properties to x-ayatanaRobert Tari2021-10-261-4/+6
|
* Drop all references to lomiri-url-dispatcherRobert Tari2021-08-281-4/+0
|
* fix cmake warning of the test apps' dependency on the service libraryCharles Kerr2021-08-281-1/+1
|
* remove dead codeCharles Kerr2021-08-281-0/+2
|
* for low power notifications, use libnotify's 'sound-file' property instead ↵Charles Kerr2021-08-281-77/+17
| | | | of indicator-power calling the sound player directly
* demote a spurious warning to a debug messageCharles Kerr2021-08-281-1/+1
|
* don't disable the warning sound when AccountServices is completely unavailableCharles Kerr2021-08-281-3/+10
|
* fix copy-paste typoCharles Kerr2021-08-281-1/+1
|
* assume we're in silent mode if we can't get an accounts-service proxyCharles Kerr2021-08-281-2/+6
|
* add a leak safeguard to accounts_service_sound_proxyCharles Kerr2021-08-281-0/+1
|
* add build-dep to accountsservice-ubuntu-schemas instead of bundling ↵Charles Kerr2021-08-281-3/+20
| | | | com.ubuntu.touch.AccountsService.Sound.xml into our source tree
* honor com.ubuntu.touch.AccountsService.Sound.SilentModecharles kerr2021-08-281-1/+63
|
* use a symbolic constant for the low battery sound's filenamecharles kerr2021-08-281-1/+1
|
* in Notifier's destructor, unref its SoundPlayer fieldcharles kerr2021-08-281-0/+1
|
* update copyright years on changed/new filescharles kerr2021-08-281-1/+1
|
* make a SoundPlayer interface so we can mock it in the testscharles kerr2021-08-281-9/+52
| | | | | | | | 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
* use gstreamer to play the soundcharles kerr2021-08-281-1/+3
|
* add logic to call sound_play_file() when the low battery notification is showncharles kerr2021-08-281-0/+30
|
* Make URL dispatcher build-dependency optional and handle battery settings ↵Mike Gabriel2018-03-121-3/+2
| | | | request appropriately.
* Revert "Drop unnecessary dependency on Ubuntu's url-dispatcher."Mike Gabriel2018-03-121-0/+11
| | | | This reverts commit 0a9cc2a474ff583c928e109468f20330aae0603c.
* src/notifier.c: Fix our own service executable name in notify_init() call.Mike Gabriel2017-05-311-1/+1
|
* Fixup previous commit. More x-canonical-* type changes.Mike Gabriel2017-05-161-4/+4
|
* Drop unnecessary dependency on Ubuntu's url-dispatcher.Mike Gabriel2015-11-121-11/+0
|
* Fork from Ubuntu's indicator-power code project.Mike Gabriel2015-11-121-5/+5
|
* r273 tried to fix the blocking bug listed at ↵Charles Kerr2014-10-141-42/+32
| | | | http://paste.ubuntu.com/8562226/, but in the process introduced a new bug that manifested in RTM. This removes r273 and uses a different fix.
* fix notify get-capabilities startup blocking bug found in testingCharles Kerr2014-10-141-18/+38
|
* confirmation buttons should be green, so add the 'affirmative-tint' hint for ↵Charles Kerr2014-10-071-0/+1
| | | | the OK button.
* use a string for unity-notification's boolean types.Charles Kerr2014-10-071-2/+2
|
* sync with lp-1330037-add-upower-099-support to resolve merge conflictsCharles Kerr2014-09-081-4/+4
|
* in notifier's snap decisions, distinguish in the title between low battery ↵Charles Kerr2014-09-081-3/+11
| | | | and critical battery
* in notifier.c, don't call notify_get_server_caps() if notify_init() failed.Charles Kerr2014-09-081-8/+11
|
* in notifier.c, reverse the order in which we add the actions so they'll look ↵Charles Kerr2014-09-081-1/+1
| | | | right on the phone
* on phone, add nonexpiring snap-decision popup on low battery events.Charles Kerr2014-09-081-3/+50
|
* in notify.c, improve the logic for when to tear down a notificationCharles Kerr2014-07-251-1/+1
|
* disable the notification's interactive hint for nowCharles Kerr2014-07-251-1/+1
|
* fix bug introduced in previous commitCharles Kerr2014-07-251-0/+1
|
* in notify, reverse the numerical order of the now-private PowerLevel enum so ↵Charles Kerr2014-07-241-8/+10
| | | | that they have the more intuitive behavior of higher integer values meaning a better power level.
* on the bus, publish the battery's power_level as strings rather than intsCharles Kerr2014-07-241-25/+56
|
* in notifier.c, remove unnecessary middleman properties and deal with the ↵Charles Kerr2014-07-241-82/+7
| | | | dbus-battery properties directly.
* in notifier.c, fix potential callchain loop when closing a notificationCharles Kerr2014-07-241-26/+42
|