summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-02-09 21:08:38 +0100
committerinfirit <[email protected]>2014-02-09 22:01:16 +0100
commit9a9436dd497025f6f5f156b468ec7de6f0593932 (patch)
treec10d77505dd28d70fd1d058fe7f1b7a96ff96f28
parent6e551b72f250fcbadb3a8aee694ab84668ac529a (diff)
downloadmate-desktop-9a9436dd497025f6f5f156b468ec7de6f0593932.tar.bz2
mate-desktop-9a9436dd497025f6f5f156b468ec7de6f0593932.tar.xz
Add desktop file for user-guide
-rw-r--r--configure.ac1
-rw-r--r--po/POTFILES.in1
-rw-r--r--po/POTFILES.skip1
-rw-r--r--user-guide/Makefile.am8
-rw-r--r--user-guide/mate-user-guide.desktop.in.in15
5 files changed, 26 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4f584d0..2a96de0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -341,6 +341,7 @@ man/Makefile
tools/mate-conf-import.desktop.in
tools/Makefile
user-guide/Makefile
+user-guide/mate-user-guide.desktop.in
])
AC_OUTPUT
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0037854..70049bd 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -29,3 +29,4 @@ schemas/org.mate.thumbnail-cache.gschema.xml.in.in
schemas/org.mate.thumbnailers.gschema.xml.in.in
schemas/org.mate.typing-break.gschema.xml.in.in
tools/mate-conf-import.desktop.in.in
+user-guide/mate-user-guide.desktop.in.in
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 168b36f..fd7e174 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -4,3 +4,4 @@
mate-about/mate-about.desktop.in
mate-version.xml.in
tools/mate-conf-import.desktop.in
+user-guide/mate-user-guide.desktop.in
diff --git a/user-guide/Makefile.am b/user-guide/Makefile.am
index a3e99c7..e43ea37 100644
--- a/user-guide/Makefile.am
+++ b/user-guide/Makefile.am
@@ -72,4 +72,12 @@ HELP_MEDIA = \
HELP_LINGUAS = ar bg cs de el es eu fi fr gl hu id it ja ko oc pa pt pt_BR ru sv th uk zh_CN
+
+@INTLTOOL_DESKTOP_RULE@
+desktopdir = $(datadir)/applications
+desktop_in_files = mate-user-guide.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+CLEANFILES = $(desktop_DATA)
+
-include $(top_srcdir)/git.mk
diff --git a/user-guide/mate-user-guide.desktop.in.in b/user-guide/mate-user-guide.desktop.in.in
new file mode 100644
index 0000000..99d8d82
--- /dev/null
+++ b/user-guide/mate-user-guide.desktop.in.in
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Type=Application
+_Name=Help
+_Comment=Get help with MATE
+Keywords=documentation;information;manual;
+Icon=help
+Exec=yelp help:mate-user-guide
+StartupNotify=true
+Terminal=false
+X-MATE-Bugzilla-Bugzilla=MATE
+X-MATE-Bugzilla-Product=mate-desktop
+X-MATE-Bugzilla-Component=general
+X-MATE-Bugzilla-Version=@VERSION@
+Categories=GTK;Core;Documentation;
+OnlyShowIn=MATE;