calendar-server: Add .desktop file for evolution calendar

When selecting "Open Calendar" in the date menu, the configured
application is launched via command line, so we don't get any
startup notification. In order to fix the issue at least for our
default calendar, add a hidden .desktop file for evolution's
calendar component.

https://bugzilla.gnome.org/show_bug.cgi?id=677907
This commit is contained in:
Florian Müllner
2012-07-03 23:48:57 +02:00
parent e92719b98d
commit 20769f68a7
6 changed files with 21 additions and 0 deletions

View File

@ -8,6 +8,12 @@ gnome_shell_calendar_server_SOURCES = \
calendar-server/gnome-shell-calendar-server.c \
$(NULL)
desktopdir=$(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
desktop_in_files = calendar-server/evolution-calendar.desktop.in
@INTLTOOL_DESKTOP_RULE@
gnome_shell_calendar_server_CFLAGS = \
-I$(top_srcdir)/src \
-DPREFIX=\""$(prefix)"\" \
@ -26,3 +32,6 @@ EXTRA_DIST += \
calendar-server/README \
calendar-server/org.gnome.Shell.CalendarServer.service.in \
$(NULL)
CLEANFILES = \
$(desktop_DATA)

View File

@ -0,0 +1,7 @@
[Desktop Entry]
_Name=Evolution Calendar
Exec=evolution -c calendar
Icon=evolution
NoDisplay=true
Type=Application
StartupNotify=true