aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/notifier.c3
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));
}
}