diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-22 21:14:00 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-22 21:14:00 +0100 |
commit | ddd9347a0621de1c1dedb257701b1cd47bbcede9 (patch) | |
tree | 768b50372b142d99003ea2def968a43d405c4a76 /src/notifier.c | |
parent | f71a7c1a160361c21b88b6612e102c33f2f21792 (diff) | |
parent | c8591cc9f90c13a3d7638e611d3e53570ae9cc4d (diff) | |
download | ayatana-indicator-power-ddd9347a0621de1c1dedb257701b1cd47bbcede9.tar.gz ayatana-indicator-power-ddd9347a0621de1c1dedb257701b1cd47bbcede9.tar.bz2 ayatana-indicator-power-ddd9347a0621de1c1dedb257701b1cd47bbcede9.zip |
Merge branch 'tari01-pr/drop-sounds'
Attributes GH PR #51: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/51
Diffstat (limited to 'src/notifier.c')
-rw-r--r-- | src/notifier.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notifier.c b/src/notifier.c index c5b6eb1..3685a76 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -322,7 +322,8 @@ notification_show(IndicatorPowerNotifier * self) } else { - g_warning("Unable to find '%s' in XDG data dirs", LOW_BATTERY_SOUND); + g_message("Unable to find '%s' in XDG data dirs, falling back to /usr/share/sounds/lomiri/notifications/", LOW_BATTERY_SOUND); + notify_notification_set_hint(nn, "sound-file", g_variant_new_string("file:///usr/share/sounds/lomiri/notifications/" LOW_BATTERY_SOUND)); } } |