[evolution-data-server] [Flatpak] Make alarm-notify use the D-Bus services prefix, if specified
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] [Flatpak] Make alarm-notify use the D-Bus services prefix, if specified
- Date: Thu, 6 Dec 2018 08:07:35 +0000 (UTC)
commit 5250c2c88ef1e3d5cdb56369d1d7573c188da15e
Author: Milan Crha <mcrha redhat com>
Date: Thu Dec 6 09:06:28 2018 +0100
[Flatpak] Make alarm-notify use the D-Bus services prefix, if specified
Without it the process cannot own the D-Bus name, thus it doesn't start.
src/services/evolution-alarm-notify/e-alarm-notify.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/services/evolution-alarm-notify/e-alarm-notify.c
b/src/services/evolution-alarm-notify/e-alarm-notify.c
index 67a9024c8..96a8f2993 100644
--- a/src/services/evolution-alarm-notify/e-alarm-notify.c
+++ b/src/services/evolution-alarm-notify/e-alarm-notify.c
@@ -34,7 +34,11 @@
#include "e-alarm-notify.h"
+#ifdef DBUS_SERVICES_PREFIX
+#define APPLICATION_ID DBUS_SERVICES_PREFIX "." "org.gnome.Evolution-alarm-notify"
+#else
#define APPLICATION_ID "org.gnome.Evolution-alarm-notify"
+#endif
struct _EAlarmNotifyPrivate {
ESourceRegistry *registry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]