diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-31 15:30:24 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-31 15:30:24 +0200 |
commit | 8ec51653d0528b7900e0d36bb6913e8563e24eca (patch) | |
tree | c1429e97c01069caaf115b3abc460d4942a9429e /src | |
parent | 79a5dc92712fb5e64b9c52c7baf1298a68624017 (diff) | |
download | ayatana-indicator-power-8ec51653d0528b7900e0d36bb6913e8563e24eca.tar.gz ayatana-indicator-power-8ec51653d0528b7900e0d36bb6913e8563e24eca.tar.bz2 ayatana-indicator-power-8ec51653d0528b7900e0d36bb6913e8563e24eca.zip |
src/notifier.c: Fix our own service executable name in notify_init() call.
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus-shared.h | 1 | ||||
-rw-r--r-- | src/notifier.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/dbus-shared.h b/src/dbus-shared.h index c87befd..1c7dde0 100644 --- a/src/dbus-shared.h +++ b/src/dbus-shared.h @@ -25,4 +25,3 @@ #define BUS_PATH "/org/ayatana/indicator/power" #endif /* DBUS_SHARED_H */ - diff --git a/src/notifier.c b/src/notifier.c index 350562e..5601825 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -383,7 +383,7 @@ indicator_power_notifier_init (IndicatorPowerNotifier * self) p->power_level = POWER_LEVEL_OK; - if (!instance_count++ && !notify_init("indicator-power-service")) + if (!instance_count++ && !notify_init("ayatana-indicator-power-service")) g_critical("Unable to initialize libnotify! Notifications might not be shown."); } |