aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
Commit message (Collapse)AuthorAgeFilesLines
* *_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
|
* in notifier, use G_DEFINE_TYPE_WITH_PRIVATECharles Kerr2014-07-241-28/+23
|
* remove redundant '#include glib', '#include gobject' callsCharles Kerr2014-07-241-1/+0
|
* check the return value of g_dbus_interface_skeleton_export() directly ↵Charles Kerr2014-07-241-5/+4
| | | | instead of indirectly testing to see if the GError it used is nonnull.
* don't set to zero fields in a struct that's been calloc()ed already.Charles Kerr2014-07-241-2/+0
|
* in notifier.c, don't keep pointers to the bindings around as they're cleaned ↵Charles Kerr2014-07-241-15/+11
| | | | up automatically when either of the objects is destroyed.
* remove instance_count from IndicatorPowerNotifierClassCharles Kerr2014-07-231-10/+8
|
* copyediting: slightly better comments.Charles Kerr2014-07-231-7/+8
|
* make the notifications click-to-dismiss by adding the 'interactive ↵Charles Kerr2014-07-231-0/+5
| | | | notification' hint
* copyeditingCharles Kerr2014-07-231-1/+0
|