From 641d99ca31ed7200590538b3bafc42012f49800f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Dapena=20Paz?= Date: Fri, 18 Dec 2009 14:34:59 +0100 Subject: [PATCH] Add applications .desktop file for gtk --- configure.ac | 4 +++- src/gtk/Makefile.am | 4 ++++ src/gtk/modest.desktop | 12 ++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 src/gtk/modest.desktop diff --git a/configure.ac b/configure.ac index 1e2f5f6..d3bb200 100644 --- a/configure.ac +++ b/configure.ac @@ -493,7 +493,9 @@ if test "x$with_platform" == "xmaemo"; then AC_SUBST(icon_scalabledir) AC_SUBST(pluginlibdir) AC_SUBST(plugindesktopentrydir) - +else + desktopentrydir=$datadir/applications + AC_SUBST(desktopentrydir) fi dnl --------------- TESTING ------------------- diff --git a/src/gtk/Makefile.am b/src/gtk/Makefile.am index ba21269..f4dd362 100644 --- a/src/gtk/Makefile.am +++ b/src/gtk/Makefile.am @@ -53,3 +53,7 @@ libmodest_ui_la_LIBADD = \ $(MODEST_TOOLKIT_LIBS) \ $(MODEST_WPEDITOR_LIBS) +desktopentry_DATA = modest.desktop + +EXTRA_DIST=\ + *(desktopentry_DATA) diff --git a/src/gtk/modest.desktop b/src/gtk/modest.desktop new file mode 100644 index 0000000..1ceade3 --- /dev/null +++ b/src/gtk/modest.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=modest +GenericName=Email +Comment=E-mail client +Exec=modest -s %U +Terminal=false +Type=Application +StartupNotify=true +MimeType=message/rfc822; +Icon=stock_mail +Categories=GNOME;GTK;Network;Email; +X-Ubuntu-Gettext-Domain=modest -- 1.7.9.5