From 8ec51653d0528b7900e0d36bb6913e8563e24eca Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 31 May 2017 15:30:24 +0200 Subject: src/notifier.c: Fix our own service executable name in notify_init() call. --- src/dbus-shared.h | 1 - src/notifier.c | 2 +- 2 files changed, 1 insertion(+), 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."); } -- cgit v1.2.3