diff options
author | charles kerr <charlesk@canonical.com> | 2016-01-01 19:37:51 -0600 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-28 10:17:14 +0200 |
commit | 460f1464709a4c5e2c1594045961be9108ae2afd (patch) | |
tree | 8bee12f505a68322e5e7102ddd4b7b2bf675ea33 /src | |
parent | c7881a2d849191e1b6243da75ebf9140d29655cb (diff) | |
download | ayatana-indicator-power-460f1464709a4c5e2c1594045961be9108ae2afd.tar.gz ayatana-indicator-power-460f1464709a4c5e2c1594045961be9108ae2afd.tar.bz2 ayatana-indicator-power-460f1464709a4c5e2c1594045961be9108ae2afd.zip |
use a symbolic constant for the low battery sound's filename
Diffstat (limited to 'src')
-rw-r--r-- | src/notifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifier.c b/src/notifier.c index d5e8b5d..7d81f3a 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -146,7 +146,7 @@ get_battery_power_level (IndicatorPowerDevice * battery) static void play_low_battery_sound (IndicatorPowerNotifier * self) { - const gchar * const key = "Low battery.ogg"; + const gchar * const key = LOW_BATTERY_SOUND; gchar * filename; priv_t * const p = get_priv(self); |