diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 13 | ||||
-rw-r--r-- | data/mate-notification-daemon.desktop.in.in | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index a666d7a..3358d92 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -16,6 +16,17 @@ servicedir = $(DBUS_SERVICES_DIR) service_DATA = org.freedesktop.mate.Notifications.service org.mate.panel.applet.MateNotificationAppletFactory.service service_in_files = $(service_DATA:=.in) +autostartdir = $(sysconfdir)/xdg/autostart +autostart_in_files = mate-notification-daemon.desktop.in +autostart_DATA = $(autostart_in_files:.desktop.in=.desktop) + +$(autostart_DATA): $(autostart_in_files) +if USE_NLS + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ +else + $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ +endif + appletdir = $(datadir)/mate-panel/applets applet_DATA = org.mate.applets.MateNotificationApplet.mate-panel-applet applet_in_files = $(applet_DATA:.mate-panel-applet=.desktop.in) @@ -43,6 +54,7 @@ gsettingsschema_in_files = $(gsettings_SCHEMAS:=.in) @GSETTINGS_RULES@ EXTRA_DIST = \ + $(autostart_in_files) \ $(desktop_in_files) \ $(gsettingsschema_in_files) \ $(icon16_DATA) \ @@ -53,6 +65,7 @@ EXTRA_DIST = \ $(iconscalable_DATA) CLEANFILES = \ + $(autostart_DATA) \ $(applet_DATA) \ $(desktop_DATA) \ $(gsettings_SCHEMAS) diff --git a/data/mate-notification-daemon.desktop.in.in b/data/mate-notification-daemon.desktop.in.in new file mode 100644 index 0000000..15cf95f --- /dev/null +++ b/data/mate-notification-daemon.desktop.in.in @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=MATE Notification Daemon +Comment=Display notifications +Exec=@LIBEXECDIR@/mate-notification-daemon +Terminal=false +Type=Application +OnlyShowIn=MATE; +NoDisplay=true +X-MATE-Autostart-Phase=Application +X-MATE-Autostart-Notify=true +X-MATE-Bugzilla-Bugzilla=MATE +X-MATE-Bugzilla-Product=mate-notification-daemon +X-MATE-Bugzilla-Component=general +X-MATE-Bugzilla-Version=@VERSION@ |