Cosmetic improvements to man pages

This commit is contained in:
Matthias Clasen
2012-08-03 01:50:41 +02:00
parent bdbd47818f
commit c069267c42
3 changed files with 54 additions and 30 deletions

View File

@ -6,7 +6,7 @@
<refentryinfo> <refentryinfo>
<title>gtk-launch</title> <title>gtk-launch</title>
<productname>gtk+</productname> <productname>GTK+</productname>
<authorgroup> <authorgroup>
<author> <author>
<contrib>Developer</contrib> <contrib>Developer</contrib>
@ -48,8 +48,9 @@ the application to launch. The name should match application desktop file name,
as residing in /usr/share/application, with or without the '.desktop' suffix. as residing in /usr/share/application, with or without the '.desktop' suffix.
</para> </para>
<para> <para>
If called with more than one argument, the rest of them besides the application name If called with more than one argument, the rest of them besides the application
are considered URI locations and are passed as arguments to the launched application. name are considered URI locations and are passed as arguments to the launched
application.
</para> </para>
</refsect1> </refsect1>
@ -63,10 +64,4 @@ are considered URI locations and are passed as arguments to the launched applica
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsect1><title>Bugs</title>
<para>
None known yet.
</para>
</refsect1>
</refentry> </refentry>

View File

@ -4,6 +4,18 @@
]> ]>
<refentry id="gtk-query-immodules-3.0"> <refentry id="gtk-query-immodules-3.0">
<refentryinfo>
<title>gtk-query-immodules-3.0</title>
<productname>GTK+</productname>
<authorgroup>
<author>
<contrib>Developer</contrib>
<firstname>Matthias</firstname>
<surname>Clasen</surname>
</author>
</authorgroup>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>gtk-query-immodules-3.0</refentrytitle> <refentrytitle>gtk-query-immodules-3.0</refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
@ -19,7 +31,7 @@
<cmdsynopsis> <cmdsynopsis>
<command>gtk-query-immodules-3.0</command> <command>gtk-query-immodules-3.0</command>
<arg choice="opt">--update-cache</arg> <arg choice="opt">--update-cache</arg>
<arg choice="opt" rep="repeat">module</arg> <arg choice="opt" rep="repeat">MODULE</arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
@ -37,11 +49,13 @@ module path.
If called with arguments, it looks for the specified modules. The arguments If called with arguments, it looks for the specified modules. The arguments
may be absolute or relative paths. may be absolute or relative paths.
</para> </para>
<para> <para>
Normally, the output of <command>gtk-query-immodules-3.0</command> is written Normally, the output of <command>gtk-query-immodules-3.0</command> is written
to <filename><replaceable>libdir</replaceable>/gtk-3.0/3.0.0/immodules.cache</filename>, where GTK+ looks for it by default. If it is written to some other to <filename><replaceable>libdir</replaceable>/gtk-3.0/3.0.0/immodules.cache</filename>,
location, the environment variable <link linkend="gtk-im-module-file"><envar>GTK_IM_MODULE_FILE</envar></link> where GTK+ looks for it by default. If it is written to some other location,
can be set to point GTK+ at the file. the <envar>GTK_IM_MODULE_FILE</envar> environment variable can be set to point
GTK+ at the file.
</para> </para>
</refsect1> </refsect1>
@ -55,19 +69,28 @@ can be set to point GTK+ at the file.
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsect1><title>Environment</title> <refsect1><title>Files</title>
<para> <variablelist>
The environment variable <link linkend="gtk-path"><envar>GTK_PATH</envar></link> <varlistentry>
can be used to prepend directories to the input method module path. <term><filename><replaceable>libdir</replaceable>/gtk-3.0/3.0.0/immodules.cache</filename></term>
</para> <listitem><para>The default im cache file used by GTK+ applications</para></listitem>
</varlistentry>
</variablelist>
</refsect1> </refsect1>
<refsect1><title>Bugs</title> <refsect1><title>Environment</title>
<para> <variablelist>
None known yet. <varlistentry>
</para> <term><link linkend="gtk-path"><envar>GTK_PATH</envar></link></term>
<listitem><para>Prepends directories to the input method module path</para></listitem>
</varlistentry>
<varlistentry>
<term><link linkend="gtk-im-module-file"><envar>GTK_IM_MODULE_FILE</envar></link></term>
<listitem><para>Specifies an alternative im module cache for GTK+
applications</para></listitem>
</varlistentry>
</variablelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -4,6 +4,18 @@
]> ]>
<refentry id="gtk-update-icon-cache"> <refentry id="gtk-update-icon-cache">
<refentryinfo>
<title>gtk-update-icon-cache</title>
<productname>GTK+</productname>
<authorgroup>
<author>
<contrib>Developer</contrib>
<firstname>Matthias</firstname>
<surname>Clasen</surname>
</author>
</authorgroup>
</refentryinfo>
<refmeta> <refmeta>
<refentrytitle>gtk-update-icon-cache</refentrytitle> <refentrytitle>gtk-update-icon-cache</refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
@ -99,10 +111,4 @@
</variablelist> </variablelist>
</refsect1> </refsect1>
<refsect1><title>Bugs</title>
<para>
None known yet.
</para>
</refsect1>
</refentry> </refentry>