diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-09-18 22:28:13 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-09-18 23:58:19 +0800 |
commit | 3f1448b0119585493e1d213af9afde5faf50cb2c (patch) | |
tree | 6addf33f16a492227b262df4a4fa7e116848df72 /data | |
parent | f99137ce6242e40274bb89baeae8d762ae726f1a (diff) | |
download | gsoc2013-evolution-3f1448b0119585493e1d213af9afde5faf50cb2c.tar.gz gsoc2013-evolution-3f1448b0119585493e1d213af9afde5faf50cb2c.tar.zst gsoc2013-evolution-3f1448b0119585493e1d213af9afde5faf50cb2c.zip |
Restore the alarm notify daemon.
Convert evolution-alarm-notify to an autostart program, add a .desktop
file for it, and use libunique to ensure only one instance is running.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 7 | ||||
-rw-r--r-- | data/evolution-alarm-notify.desktop.in.in | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 6fbfd499c9..8bbcdedda7 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -4,6 +4,11 @@ desktop_file = $(desktop_in_in_file:.desktop.in.in=.desktop) %.desktop.in: %.desktop.in.in sed -e "s|\@BASE_VERSION\@|$(BASE_VERSION)|" -e "s|\@DATASERVER_EXEC_VERSION\@|$(DATASERVER_EXEC_VERSION)|" $< > $@ +autostartdir = $(sysconfdir)/xdg/autostart +autostart_in_in_files = evolution-alarm-notify.desktop.in.in +autostart_in_files = evolution-alarm-notify.desktop.in +autostart_DATA = $(autostart_in_files:.desktop.in=.desktop) + @INTLTOOL_DESKTOP_RULE@ keysdir = $(datadir)/mime-info @@ -57,10 +62,12 @@ uninstall-local: uninstall-kde-applnk rm -rf $(DESTDIR)$(mimedir)/$(mime_file) ; CLEANFILES = \ + $(autostart_DATA) \ $(desktop_file) \ $(keys_file) EXTRA_DIST = \ + $(autostart_in_in_files) \ $(desktop_in_in_file) \ $(mime_file) \ $(keys_in_file) \ diff --git a/data/evolution-alarm-notify.desktop.in.in b/data/evolution-alarm-notify.desktop.in.in new file mode 100644 index 0000000000..23b40644fa --- /dev/null +++ b/data/evolution-alarm-notify.desktop.in.in @@ -0,0 +1,14 @@ +[Desktop Entry] +Type=Application +_Name=Evolution Alarm Notify +_Comment=Calendar event notifications +Icon=appointment-soon +Exec=evolution-alarm-notify +Terminal=false +Type=Application +Categories= +OnlyShowIn=GNOME;XFCE; +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=evolution +X-GNOME-Bugzilla-Component=calendar +X-GNOME-Bugzilla-Version=@VERSION@ |