aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-31 15:30:24 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-31 15:30:24 +0200
commit8ec51653d0528b7900e0d36bb6913e8563e24eca (patch)
treec1429e97c01069caaf115b3abc460d4942a9429e /src
parent79a5dc92712fb5e64b9c52c7baf1298a68624017 (diff)
downloadayatana-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.h1
-rw-r--r--src/notifier.c2
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.");
}