summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2023-08-16 18:54:49 -0400
committerraveit65 <[email protected]>2023-08-18 21:13:32 +0200
commit1ee57c16a495e5908052d1de3de139fe6a8387bc (patch)
treea09f2fbde3ee1a811c218321716c4fb8ab0ae45f /data
parent8243a01d5755213af68025885531e381a6995928 (diff)
downloadmate-notification-daemon-1ee57c16a495e5908052d1de3de139fe6a8387bc.tar.bz2
mate-notification-daemon-1ee57c16a495e5908052d1de3de139fe6a8387bc.tar.xz
Wayland: Allow building do not disturb applet in process
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
-rw-r--r--data/org.mate.applets.MateNotificationApplet.desktop.in.in3
2 files changed, 8 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 3358d92..d8ca729 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -12,9 +12,15 @@ icon32_DATA = icons/32x32/mate-notification-properties.png
icon48_DATA = icons/48x48/mate-notification-properties.png
iconscalable_DATA = icons/scalable/mate-notification-properties.svg
+if ENABLE_IN_PROCESS
+servicedir = $(DBUS_SERVICES_DIR)
+service_DATA = org.freedesktop.mate.Notifications.service
+service_in_files = $(service_DATA:=.in)
+else
servicedir = $(DBUS_SERVICES_DIR)
service_DATA = org.freedesktop.mate.Notifications.service org.mate.panel.applet.MateNotificationAppletFactory.service
service_in_files = $(service_DATA:=.in)
+endif
autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = mate-notification-daemon.desktop.in
diff --git a/data/org.mate.applets.MateNotificationApplet.desktop.in.in b/data/org.mate.applets.MateNotificationApplet.desktop.in.in
index 7b3769b..5b7c538 100644
--- a/data/org.mate.applets.MateNotificationApplet.desktop.in.in
+++ b/data/org.mate.applets.MateNotificationApplet.desktop.in.in
@@ -1,6 +1,7 @@
[Applet Factory]
Id=MateNotificationAppletFactory
-Location=@LIBEXECDIR@/mate-notification-applet
+Location=@APPLET_LOCATION@
+InProcess=@ENABLE_IN_PROCESS@
Name=Mate Notification Applet Factory
Description=Mate Notification Applet Factory