summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-30 12:19:36 +0200
committerStefano Karapetsas <[email protected]>2013-07-30 12:19:36 +0200
commit9a7d6ada0a9b9a9df608a01b78581fe1075c5b56 (patch)
tree01641853662c5cb8ec3812db3837b0dab85d2cca
parent3c31f3b9af1f8927455436076320524994a40709 (diff)
downloadmate-control-center-9a7d6ada0a9b9a9df608a01b78581fe1075c5b56.tar.bz2
mate-control-center-9a7d6ada0a9b9a9df608a01b78581fe1075c5b56.tar.xz
default-applications: Add manpage
Rename also desktop file for MATE
-rw-r--r--capplets/default-applications/Makefile.am6
-rw-r--r--capplets/default-applications/mate-default-applications-properties.124
-rw-r--r--capplets/default-applications/mate-default-applications-properties.desktop.in.in (renamed from capplets/default-applications/default-applications.desktop.in.in)0
-rw-r--r--configure.ac2
4 files changed, 29 insertions, 3 deletions
diff --git a/capplets/default-applications/Makefile.am b/capplets/default-applications/Makefile.am
index 1f889adc..b0e855d9 100644
--- a/capplets/default-applications/Makefile.am
+++ b/capplets/default-applications/Makefile.am
@@ -3,6 +3,8 @@ cappletname = default-applications
bin_PROGRAMS = mate-default-applications-properties
+man_MANS = mate-default-applications-properties.1
+
mate_default_applications_properties_LDADD = $(MATECC_CAPPLETS_LIBS)
mate_default_applications_properties_SOURCES = \
mate-da-capplet.c mate-da-capplet.h
@@ -13,7 +15,7 @@ uidir = $(pkgdatadir)/ui
dist_ui_DATA = mate-default-applications-properties.ui
desktopdir = $(datadir)/applications
-Desktop_in_files = default-applications.desktop.in
+Desktop_in_files = mate-default-applications.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
pkgconfigdir = $(libdir)/pkgconfig
@@ -26,6 +28,6 @@ AM_CPPFLAGS = \
-DMATECC_UI_DIR=\""$(uidir)"\"
CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(Desktop_in_files) $(desktop_DATA) $(autostart_DATA)
-EXTRA_DIST = mate-default-applications.pc.in
+EXTRA_DIST = mate-default-applications.pc.in ($man_MANS)
-include $(top_srcdir)/git.mk
diff --git a/capplets/default-applications/mate-default-applications-properties.1 b/capplets/default-applications/mate-default-applications-properties.1
new file mode 100644
index 00000000..7abdbf7d
--- /dev/null
+++ b/capplets/default-applications/mate-default-applications-properties.1
@@ -0,0 +1,24 @@
+.TH "mate-default-applications-properties" "1"
+
+.SH "NAME"
+mate-default-applications-properties \(em is a control center applet.
+
+.SH "SYNOPSIS"
+.PP
+\fBmate-default-applications-properties\fR [\fIOPTIONS\fR]...
+
+.SH "DESCRIPTION"
+.PP
+MATE Default Applications Properties is a control center applet to edit
+default applications.
+.PP
+It allows to set default file manager, email client, web browser, etc.
+
+.SH "OPTIONS"
+.PP
+.IP "\fB-p,\fP \fB\-\-show-page=\fIPAGE\fR\fP " 10
+Specify the name of the page to show (internet|multimedia|system|a11y)
+
+.SH "AUTHOR"
+.PP
+This manual page was written by Stefano Karapetsas <[email protected]>. \ No newline at end of file
diff --git a/capplets/default-applications/default-applications.desktop.in.in b/capplets/default-applications/mate-default-applications-properties.desktop.in.in
index d0cb79f9..d0cb79f9 100644
--- a/capplets/default-applications/default-applications.desktop.in.in
+++ b/capplets/default-applications/mate-default-applications-properties.desktop.in.in
diff --git a/configure.ac b/configure.ac
index 4d998176..c99d76d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -319,7 +319,7 @@ capplets/appearance/data/mate-appearance-properties.desktop.in
capplets/appearance/data/mate-theme-installer.desktop.in
capplets/common/Makefile
capplets/default-applications/Makefile
-capplets/default-applications/default-applications.desktop.in
+capplets/default-applications/mate-default-applications-properties.desktop.in
capplets/default-applications/mate-default-applications.pc
capplets/display/Makefile
capplets/display/display-properties.desktop.in