aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
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
* fix another touched file's copyright datecharles kerr2021-08-281-4/+4
|
* make a SoundPlayer interface so we can mock it in the testscharles kerr2021-08-281-2/+10
| | | | | | | | 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
* Rename GNOMELOCALEDIR -> LOCALEDIR.Mike Gabriel2017-12-061-1/+1
|
* move the mock battery from GSettings to DBusCharles Kerr2014-10-141-68/+7
|
* add gsettings for a mock battery to make QA tester's lives easierCharles Kerr2014-10-101-5/+65
|
* second draft of low battery power notifications, still a work in progressCharles Kerr2014-07-211-4/+0
|
* add first draft of low battery notificationsCharles Kerr2014-07-161-4/+8
|
* fix some compiler warnings generated by clang static analyzerCharles Kerr2014-07-131-2/+0
|
* remove the '--replace' command line argument; process management will be ↵Charles Kerr2013-06-191-35/+2
| | | | handled by Upstart
* add a main() wrapper to create a service and pass a device-provider-upower to itCharles Kerr2013-06-161-0/+101