[pygobject] Fix the docs for the gio.AppInfo class



commit 4febd5fec7ad73a07e90bdab387125781044e86a
Author: Gian Mario Tagliaretti <gianmt gnome org>
Date:   Sat Apr 25 13:43:24 2009 +0200

    Fix the docs for the gio.AppInfo class
    
    Add the constructor section and fix args names.
---
 docs/reference/pygio-appinfo.xml |   44 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 43 insertions(+), 1 deletions(-)

diff --git a/docs/reference/pygio-appinfo.xml b/docs/reference/pygio-appinfo.xml
index 66a1f20..1e0ea95 100644
--- a/docs/reference/pygio-appinfo.xml
+++ b/docs/reference/pygio-appinfo.xml
@@ -19,7 +19,7 @@
 	<methodname><link linkend="constructor-gioappinfo">gio.AppInfo</link></methodname>
 	<methodparam><parameter role="keyword">commandline</parameter></methodparam>
         <methodparam><parameter role="keyword">application_name</parameter><initializer><literal>None</literal></initializer></methodparam>
-        <methodparam><parameter role="keyword">content_type</parameter><initializer>gio.APP_INFO_CREATE_NONE</initializer></methodparam>
+        <methodparam><parameter role="keyword">flags</parameter><initializer>gio.APP_INFO_CREATE_NONE</initializer></methodparam>
     </constructorsynopsis>
 
     <methodsynopsis language="python">
@@ -166,6 +166,48 @@
         </para>
     </refsect1>
 
+    <refsect1 id="constructor-gioappinfo">
+        <title>Constructor</title>
+  
+        <programlisting><constructorsynopsis language="python">
+            <methodname>gio.AppInfo</methodname>
+            <methodparam><parameter role="keyword">commandline</parameter></methodparam>
+            <methodparam><parameter role="keyword">application_name</parameter><initializer><literal>None</literal></initializer></methodparam>
+            <methodparam><parameter role="keyword">flags</parameter><initializer>gio.APP_INFO_CREATE_NONE</initializer></methodparam>
+        </constructorsynopsis></programlisting>
+        <variablelist>
+            <varlistentry>
+                <term><parameter>commandline</parameter>&nbsp;:</term>
+                <listitem><simpara>the commandline to use 
+                </simpara></listitem>
+            </varlistentry>
+            <varlistentry>
+                <term><parameter>application_name</parameter>&nbsp;:</term>
+                <listitem><simpara>the application name, or <literal>None</literal> to use commandline.
+                </simpara></listitem>
+            </varlistentry>
+            <varlistentry>
+                <term><parameter>flags</parameter>&nbsp;:</term>
+                <listitem><simpara>flags that can specify details of the created,
+                from <xref linkend="gio-app-info-constants" endterm="gio-app-info-constants-title"></xref>
+                </simpara></listitem>
+            </varlistentry>
+            <varlistentry>
+                <term><emphasis>Returns</emphasis>&nbsp;:</term>
+                <listitem><simpara>a new
+                <link linkend="class-gioappinfo"><classname>gio.AppInfo</classname></link>
+                for given command.
+                </simpara></listitem>
+            </varlistentry>
+        </variablelist>
+    
+        <para>
+            Creates a new <link linkend="class-gioappinfo"><classname>gio.AppInfo</classname></link>
+            from the given information.
+        </para>
+  
+    </refsect1>
+
     <refsect1>
         <title>Methods</title>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]