aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.h
Commit message (Collapse)AuthorAgeFilesLines
* for low power notifications, use libnotify's 'sound-file' property instead ↵Charles Kerr2021-08-281-5/+1
| | | | of indicator-power calling the sound player directly
* 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-1/+5
| | | | | | | | 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
* on the bus, publish the battery's power_level as strings rather than intsCharles Kerr2014-07-241-10/+5
|
* in notifier, use G_DEFINE_TYPE_WITH_PRIVATECharles Kerr2014-07-241-2/+0
|
* remove redundant '#include glib', '#include gobject' callsCharles Kerr2014-07-241-3/+1
|
* remove instance_count from IndicatorPowerNotifierClassCharles Kerr2014-07-231-3/+0
|
* remove now-unused code that tests whether the Notify server supports actionsCharles Kerr2014-07-231-1/+0
|
* add tests to confirm that the DBus object's PowerLevel property changes at ↵Charles Kerr2014-07-211-0/+1
| | | | the right times (and only at the right times) when the battery is draining
* don't show clickable actions if the Notify server doesn't support them.Charles Kerr2014-07-211-3/+8
|
* fix build issuesCharles Kerr2014-07-211-2/+2
|
* remove DeviceProvider from NotifierCharles Kerr2014-07-211-4/+13
|
* second draft of low battery power notifications, still a work in progressCharles Kerr2014-07-211-0/+4
|
* add first draft of low battery notificationsCharles Kerr2014-07-161-0/+68