[gnomeweb-wml] Updated website for 0.7.0 release, added temporary documentation reference
- From: Adam Plumb <adamplumb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomeweb-wml] Updated website for 0.7.0 release, added temporary documentation reference
- Date: Sat, 22 May 2010 16:54:55 +0000 (UTC)
commit 67e2845ed1a56ef4bfebd11e7d260b518fcb84e0
Author: Adam Plumb <adamplumb gmail com>
Date: Sat May 22 12:54:48 2010 -0400
Updated website for 0.7.0 release, added temporary documentation reference
.../nautilus-python/development.html | 11 ++-
.../nautilus-python/documentation.html | 103 +-------------------
.../nautilus-python/documentation/Makefile.am | 2 +-
.../nautilus-python/documentation/html/Makefile.am | 26 +++++
.../class-nautilus-python-column-provider.html | 36 +++++++
.../html/class-nautilus-python-column.html | 12 +++
.../html/class-nautilus-python-file-info.html | 8 ++
.../html/class-nautilus-python-info-provider.html | 52 ++++++++++
...s-nautilus-python-location-widget-provider.html | 20 ++++
.../html/class-nautilus-python-menu-item.html | 18 ++++
.../html/class-nautilus-python-menu-provider.html | 96 ++++++++++++++++++
.../html/class-nautilus-python-menu.html | 16 +++
...ass-nautilus-python-property-page-provider.html | 51 ++++++++++
.../html/class-nautilus-python-property-page.html | 12 +++
.../enum-nautilus-python-operation-result.html | 7 ++
.../nautilus-python/documentation/html/index.html | 2 +
.../nautilus-python/documentation/html/index.sgml | 67 +++++++++++++
.../html/nautilus-python-class-reference.html | 1 +
.../html/nautilus-python-enum-reference.html | 1 +
.../html/nautilus-python-overview-example.html | 34 +++++++
.../html/nautilus-python-overview-methods.html | 8 ++
.../html/nautilus-python-overview.html | 10 ++
.../html/nautilus-python-provider-reference.html | 1 +
.../documentation/html/nautilus-python.devhelp | 71 ++++++++++++++
projects.gnome.org/nautilus-python/download.html | 2 +-
projects.gnome.org/nautilus-python/index.html | 6 +-
projects.gnome.org/nautilus-python/news.html | 57 +++++++++++
27 files changed, 621 insertions(+), 109 deletions(-)
---
diff --git a/projects.gnome.org/nautilus-python/development.html b/projects.gnome.org/nautilus-python/development.html
index 1d4f229..8184ff7 100644
--- a/projects.gnome.org/nautilus-python/development.html
+++ b/projects.gnome.org/nautilus-python/development.html
@@ -53,9 +53,11 @@ Then, to build and install, type:
$ make
$ sudo make install (or run as root)
</code>
-If you have Nautilus installed in a non-standard prefix, you can tell Nautilus-Python to install
-to that prefix by setting the PKG_CONFIG_PATH environment variable before compiling
-Nautilus-Python. To do so, enter the following:
+If you have Nautilus installed in a non-standard prefix, you can tell
+Nautilus-Python to install to that prefix by setting the PKG_CONFIG_PATH
+environment variable before compiling Nautilus-Python.
+
+To do so, enter the following:
<inlinecode>$ export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig</inlinecode>
</tidbit>
@@ -77,7 +79,8 @@ Nautilus-Python. To do so, enter the following:
<tidbit><b>Distro-specific dependencies</b>
-Ubuntu - <inlinecode>sudo apt-get install python-gtk2-dev python-gobject-dev python-gnome-dev libnautilus-extension-dev</inlinecode>
+Ubuntu - <inlinecode>sudo apt-get install python-gtk2-dev python-gobject-dev python-gnome2-dev \
+ libnautilus-extension-dev</inlinecode>
(please email me additional instructions for missing distributions)
</tidbit>
diff --git a/projects.gnome.org/nautilus-python/documentation.html b/projects.gnome.org/nautilus-python/documentation.html
index 0efba8a..48c2607 100644
--- a/projects.gnome.org/nautilus-python/documentation.html
+++ b/projects.gnome.org/nautilus-python/documentation.html
@@ -28,111 +28,14 @@
</ul>
<div id="hdr_gradient"></div>
- <div id="sidebar">
- <h3>Quick Links</h3>
-
- <ol>
- <li><a href="#overview">General Overview</a></li>
- <li><a href="#extension">A Simple Extension</a></li>
- <li><a href="#api">API Reference</a></li>
- </ol>
- </div>
-
<div id="body">
<h2>Documentation</h2>
-
- <a name="overview"></a>
- <h3>General Overview</h3>
- <p>
- Writing a Nautilus-Python extension is a fairly straight-forward process. One simply imports the nautilus module and creates
- a class which is derived from a number of the nautilus module's classes. When an extension derives a class, it becomes a "provider",
- telling Nautilus to ask it for information. There are several types of providers available for extensions to use: there is
- MenuProvider, LocationWidgetProvider, ColumnProvider, PropertyPageProvider, and InfoProvider, all of which will be explained in more detail
- below. Your class can be derived from multiple providers.
- </p>
-
- <p>
- Running a Nautilus-Python script is fairly a straight-forward process, involving several steps.
- <ol>
- <li>A script is written and installed to the standard python extensions install path</li>
- <li>Nautilus is (re)started and loads the Nautilus-Python C extension, which in turn loads all python extensions</li>
- <li>Any python script in the standard python extensions install path that imports the nautilus module and derives the main class from a nautilus module class will be loaded</li>
- </ol>
- </p>
-
-<tidbit><b>A note about the standard python extensions install path</b>
-
-The install path for individual users is ~/.nautilus/python-extensions.
-
-The system-wide install path is $PREFIX/lib/nautilus/extensions-2.0/python. However,
-some 64 bit distributions, such as Fedora, put Nautilus-Python extensions in
-$PREFIX/lib64/nautilus/extensions-2.0/python.
-
-As of Nautilus 2.32 (due out Fall 2010), nautilus-python will look in
-~/.local/share/nautilus-python/extensions for local extensions and
-$PREFIX/share/nautilus-python/extensions for global extensions.
-</tidbit>
-
- <a name="extension"></a>
- <h3>A Simple Extension</h3>
-
- Create an empty file with the following code (<a href="documentation/TestExtension.py">download here</a>):
- <p>
-<code>import nautilus
-
-class SimpleMenuExtension(nautilus.MenuProvider):
- def __init__(self):
- pass
-
- def menu_activate_cb(self, menu, file):
- print "menu_activate_cb",file
-
- def get_file_items(self, window, files):
- if len(files) != 1:
- return
-
- file = files[0]
- item = nautilus.MenuItem(
- "SimpleMenuExtension::Show_File_Name",
- "Showing %s" % file.get_name(),
- "Showing %s" % file.get_name()
- )
- item.connect('activate', self.menu_activate_cb, file)
-
- return [item]
-</code>
+ With the nautilus-python 0.7.0 release comes shiny new documentation! I've consolidated all reference and tutorial information
+ into a standard gtk-doc enabled reference.
<p>
-
- <p>
- Save this file as TestExtension.py in the ~/.nautilus/python-extensions folder. You may need to create this folder. To run, open the terminal
- and type:
- </p>
- <p>
-<code>$ nautilus -q
-$ nautilus --no-desktop
-</code>
- </p>
- <p>
- One Nautilus starts, right-click on a file and you should see a new menu item, "Showing #filename#". It is as simple as that!
- </p>
- <p>
- Here is what is going on in this script. As mentioned above, in order to get loaded by Nautilus, a python extension must
- import the nautilus module, create a class derived from a nautilus *Provider, then create the methods that will be called by Nautilus
- when it requests information from its providers. In this case, when someone right-clicks on a file, Nautilus will ask all of its MenuProviders for
- additional menu items to show the user. When folders or files are clicked, the get_file_items method is called and a list of nautilus.MenuItems is expected.
- </p>
-
- <p>
- See more extension examples <a href="http://git.gnome.org/browse/nautilus-python/tree/examples/">here</a>.
- </p>
-
- <a name="api"></a>
- <h3>API Reference</h3>
-
- <p>I'm working on a nicer looking and easier to follow reference, but for now, see the latest <a href="http://git.gnome.org/browse/nautilus-python/tree/examples/documentation.py">examples/documentation.py</a> file.</p>
-
+ <a href="documentation/html/index.html">API Reference and Tutorial</a>
</div>
<div style="margin-left:15px;">
diff --git a/projects.gnome.org/nautilus-python/documentation/Makefile.am b/projects.gnome.org/nautilus-python/documentation/Makefile.am
index 1727ec1..633b224 100644
--- a/projects.gnome.org/nautilus-python/documentation/Makefile.am
+++ b/projects.gnome.org/nautilus-python/documentation/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS=
+SUBDIRS=html
urlpath = /nautilus-python/documentation
diff --git a/projects.gnome.org/nautilus-python/documentation/html/Makefile.am b/projects.gnome.org/nautilus-python/documentation/html/Makefile.am
new file mode 100644
index 0000000..6ce412f
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/Makefile.am
@@ -0,0 +1,26 @@
+SUBDIRS=
+
+urlpath = /nautilus-python/documentation/html
+
+page_SCRIPTS = \
+ index.html \
+ nautilus-python-overview.html \
+ nautilus-python-overview-example.html \
+ nautilus-python-overview-methods.html \
+ nautilus-python-class-reference.html \
+ nautilus-python-provider-reference.html \
+ class-nautilus-python-column.html \
+ class-nautilus-python-column-provider.html \
+ class-nautilus-python-menu.html \
+ class-nautilus-python-menu-item.html \
+ class-nautilus-python-menu-provider.html \
+ class-nautilus-python-property-page.html \
+ class-nautilus-python-property-page-provider.html \
+ class-nautilus-python-location-widget-provider.html \
+ class-nautilus-python-file-info.html \
+ class-nautilus-python-info-provider.html \
+ nautilus-python-enum-reference.html \
+ enum-nautilus-python-operation-result.html
+
+
+include $(top_srcdir)/rules.common
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-column-provider.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-column-provider.html
new file mode 100644
index 0000000..dafbbfb
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-column-provider.html
@@ -0,0 +1,36 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.ColumnProvider</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces"><link rel="prev" href="nautilus-python-provider-reference.html" title="Provider Interfaces"><link rel="next" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.ColumnProvider</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="nautilus-python-provider-reference.html">Prev</a>Â </td><th width="60%" align="center">Provider Interfaces</th><td
width="20%" align="right">Â <a accesskey="n" href="class-nautilus-python-info-provider.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.ColumnProvider"><a name="class-nautilus-python-column-provider"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.ColumnProvider</h2><p>nautilus.ColumnProvider â?? nautilus.ColumnProvider Reference</p></div><div class="refsect1" title="Synopsis"><a name="id406427"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.ColumnProvider</span></span>:
+<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-column-provider.html#method-nautilus-column-provider--get-columns" title="nautilus.ColumnProvider.get_columns">get_columns</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a name="description-column-provider"></a><h2>Description</h2><p>
+ If subclassed, Nautilus will request a list of <a class="link" href="class-nautilus-python-column.html" title="nautilus.Column"><code class="classname">nautilus.Column</code></a>
+ objects, which are then displayed when the user is in <code class="literal">List</code> mode.
+
+ </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>An extension sub-classing <a class="link" href="class-nautilus-python-column-provider.html" title="nautilus.ColumnProvider"><code class="classname">nautilus.ColumnProvider</code></a>
+ will almost always want to sub-class <code class="classname">nautilus.InfoProvider</code>
+ as well, since that is how an extension provides information for each item in a directory listing.
+ </div><p>
+ </p><div class="example"><a name="id346211"></a><p class="title"><b>Example 2. nautilus.ColumnProvider Example</b></p><div class="example-contents"><pre class="programlisting">
+import os
+import urllib
+
+import nautilus
+
+class ColumnExtension(nautilus.ColumnProvider, nautilus.InfoProvider):
+ def __init__(self):
+ pass
+
+ def get_columns(self):
+ return nautilus.Column("NautilusPython::block_size_column",
+ "block_size",
+ "Block size",
+ "Get the block size"),
+
+ def update_file_info(self, file):
+ if file.get_uri_scheme() != 'file':
+ return
+
+ filename = urllib.unquote(file.get_uri()[7:])
+
+ file.add_string_attribute('block_size', str(os.stat(filename).st_blksize))
+ </pre></div></div><br class="example-break"></div><div class="refsect1" title="Passive Methods"><a name="id346190"></a><h2>Passive Methods</h2><div class="refsect2" title="nautilus.ColumnProvider.get_columns"><a name="method-nautilus-column-provider--get-columns"></a><h3>nautilus.ColumnProvider.get_columns</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_columns</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a list of <code class="literal">nautilus.Column</code></td></tr></tbody></table><p>
+ The <code class="methodname">get_columns</code>() method returns a list of
+ <a class="link" href="class-nautilus-python-column.html" title="nautilus.Column"><code class="classname">nautilus.Column</code></a>.
+ </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="nautilus-python-provider-reference.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-provider-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-info-provider.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Provider Interfaces </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.InfoProvider</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-column.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-column.html
new file mode 100644
index 0000000..a45950d
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-column.html
@@ -0,0 +1,12 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.Column</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-class-reference.html" title="Available Classes"><link rel="prev" href="nautilus-python-class-reference.html" title="Available Classes"><link rel="next" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.Column</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="nautilus-python-class-reference.html">Prev</a>Â </td><th width="60%" align="center">Available Classes</th><td width="20%" align="right">Â <a accessk
ey="n" href="class-nautilus-python-file-info.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.Column"><a name="class-nautilus-python-column"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.Column</h2><p>nautilus.Column â?? nautilus.Column Reference</p></div><div class="refsect1" title="Synopsis"><a name="id406888"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.Column</span></span>(<span class="ooclass"><span class="classname"><a
+href="../pygobject/class-gobject.html"
+>gobject.GObject</a></span></span>):
+<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-nautilus-python-column.html#constructor-nautilus-column" title="Constructor">nautilus.Column</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>attribute</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>description</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id386780"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
+href="../pygobject/class-gobject.html"
+>gobject.GObject</a>
+ +-- <a class="link" href="class-nautilus-python-column.html" title="nautilus.Column">nautilus.Column</a>
+</pre></div><div class="refsect1" title="Description"><a name="description-column"></a><h2>Description</h2><p>
+ A list of <a class="link" href="class-nautilus-python-column.html" title="nautilus.Column"><code class="classname">nautilus.Column</code></a> objects is returned by <a class="link" href="class-nautilus-python-column-provider.html" title="nautilus.ColumnProvider"><code class="classname">nautilus.ColumnProvider</code></a> extensions.
+ </p></div><div class="refsect1" title="Properties"><a name="id334758"></a><h2>Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"attribute"</td><td valign="top">The attribute name to display. Default value: None</td><td valign="top">Read-Write</td></tr><tr valign="top"><td valign="top">"attribute-q"</td><td valign="top">The attribute name to display, in quark form. Default value: 0</td><td valign="top">Read</td></tr><tr valign="top"><td valign="top">"description"</td><td valign="top">The user-visible description of the column. Default value: None</td><td valign="top">Read-Write</td></tr><tr valign="top"><td valign="top">"label"</td><td valign="top">The label to display in the column. Default value: None</td><td valign="top">Read-Write</td>
</tr><tr valign="top"><td valign="top">"name"</td><td valign="top">The name of the column. Default value: None</td><td valign="top">Read-Write-ConstructOnly</td></tr><tr valign="top"><td valign="top">"xalign"</td><td valign="top">The x-alignment of the column. Allowed values: [0,1]. Default value: 0</td><td valign="top">Read-Write</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Constructor"><a name="constructor-nautilus-column"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">nautilus.Column</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>attribute</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span></span>, <span class="m
ethodparam"><span class="parameter"><strong class="parameter"><code>description</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong>Â :</span></p></td><td>identifier of the column</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>attribute</code></strong>Â :</span></p></td><td>the file attribute to be displayed in the column</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>label</code></strong>Â :</span></p></td><td>the user-visible label for the column</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>description</code></strong>Â :</span></p></td><td>a user-visible description of the column</td></tr></tbody></table><p>
+ Creates a new <a class="link" href="class-nautilus-python-column.html" title="nautilus.Column"><code class="classname">nautilus.Column</code></a> object.
+ </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="nautilus-python-class-reference.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-file-info.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Available Classes </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.FileInfo</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-file-info.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-file-info.html
new file mode 100644
index 0000000..d62a1d0
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-file-info.html
@@ -0,0 +1,8 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.FileInfo</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-class-reference.html" title="Available Classes"><link rel="prev" href="class-nautilus-python-column.html" title="nautilus.Column"><link rel="next" href="class-nautilus-python-menu.html" title="nautilus.Menu"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.FileInfo</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-column.html">Prev</a>Â </td><th width="60%" align="center">Available Classes</th><td width="20%" align="right">Â <a accesskey="n" href="
class-nautilus-python-menu.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.FileInfo"><a name="class-nautilus-python-file-info"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.FileInfo</h2><p>nautilus.FileInfo â?? nautilus.FileInfo Reference</p></div><div class="refsect1" title="Synopsis"><a name="id381674"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.FileInfo</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
+<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-gone" title="nautilus.FileInfo.is_gone">is_gone</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-file-type" title="nautilus.FileInfo.get_file_type">get_file_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-location" title="nautilus.FileInfo.get_location">get_location</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-name" title
="nautilus.FileInfo.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-uri" title="nautilus.FileInfo.get_uri">get_uri</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-activation-uri" title="nautilus.FileInfo.get_activation_uri">get_activation_uri</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-info" title="nautilus.FileInfo.get_parent_info">get_parent_info</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="m
ethodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-location" title="nautilus.FileInfo.get_parent_location">get_parent_location</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-uri" title="nautilus.FileInfo.get_parent_uri">get_parent_uri</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-mount" title="nautilus.FileInfo.get_mount">get_mount</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-uri-scheme" title="nautilus.File
Info.get_uri_scheme">get_uri_scheme</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-mime-type" title="nautilus.FileInfo.get_mime_type">get_mime_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-mime-type" title="nautilus.FileInfo.is_mime_type">is_mime_type</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>mime_type</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-directory" title="nautilus.FileInfo.is_directory">is_directory</a></span>(<span class="methodp
aram"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--can-write" title="nautilus.FileInfo.can_write">can_write</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--add-emblem" title="nautilus.FileInfo.add_emblem">add_emblem</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>emblem_name</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-string-attribute" title="nautilus.FileInfo.get_string_attribute">get_string_attribute</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><co
de>attribute_name</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--add-string-attribute" title="nautilus.FileInfo.add_string_attribute">add_string_attribute</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>attribute_name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>value</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-file-info.html#method-nautilus-python-file-info--invalidate-extension-info" title="nautilus.FileInfo.invalidate_extension_info">invalidate_extension_info</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id372989"></a><h2>Ances
try</h2><pre class="synopsis">+-- gobject.GInterface
+ +-- <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo">nautilus.FileInfo</a>
+</pre></div><div class="refsect1" title="Description"><a name="description-file-info"></a><h2>Description</h2><p>
+ <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> objects are passed
+ to extensions by the <a class="link" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"><code class="classname">nautilus.InfoProvider</code></a>.
+ </p></div><div class="refsect1" title="Public Methods"><a name="id365160"></a><h2>Public Methods</h2><div class="refsect2" title="nautilus.FileInfo.is_gone"><a name="method-nautilus-python-file-info--is-gone"></a><h3>nautilus.FileInfo.is_gone</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">is_gone</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>whether the file still exists</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_file_type"><a name="method-nautilus-python-file-info--get-file-type"></a><h3>nautilus.FileInfo.get_file_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_file_type</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" val
ign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the <code class="classname">gio.FileType</code> associated with the file</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_location"><a name="method-nautilus-python-file-info--get-location"></a><h3>nautilus.FileInfo.get_location</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_location</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the <code class="classname">gio.File</code> associated with the file</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_name"><a name="method-nautilus-python-file-info--get-name"></a><h3>nautilus.FileInfo.get_name</h3><pre class="programlisting"
><code class="methodsynopsis"> def <span class="methodname">get_name</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the basename of the file</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_uri"><a name="method-nautilus-python-file-info--get-uri"></a><h3>nautilus.FileInfo.get_uri</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_uri</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the uri of the file</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_activation_uri"><a name="method-nautilus-python-file-info--get-activation-uri">
</a><h3>nautilus.FileInfo.get_activation_uri</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_activation_uri</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the activation uri of the file</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_parent_info"><a name="method-nautilus-python-file-info--get-parent-info"></a><h3>nautilus.FileInfo.get_parent_info</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_parent_info</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the <a class="link" href="class-nautilus-python-file-info
.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> object associated with the file's parent</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_parent_location"><a name="method-nautilus-python-file-info--get-parent-location"></a><h3>nautilus.FileInfo.get_parent_location</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_parent_location</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the <code class="classname">gio.File</code> associated with the file's parent location</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_parent_uri"><a name="method-nautilus-python-file-info--get-parent-uri"></a><h3>nautilus.FileInfo.get_parent_uri</h3><pre class="programlisting"><code cl
ass="methodsynopsis"> def <span class="methodname">get_parent_uri</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the uri of the file's parent</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_mount"><a name="method-nautilus-python-file-info--get-mount"></a><h3>nautilus.FileInfo.get_mount</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_mount</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the <code class="classname">gio.GMount</code> associated with the file, if it exists</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_uri_s
cheme"><a name="method-nautilus-python-file-info--get-uri-scheme"></a><h3>nautilus.FileInfo.get_uri_scheme</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_uri_scheme</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the uri scheme of the file</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_mime_type"><a name="method-nautilus-python-file-info--get-mime-type"></a><h3>nautilus.FileInfo.get_mime_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_mime_type</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the mimetyp
e of the file</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.is_mime_type"><a name="method-nautilus-python-file-info--is-mime-type"></a><h3>nautilus.FileInfo.is_mime_type</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">is_mime_type</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>mimetype</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>mimetype</code></strong>Â :</span></p></td><td>a mimetype string (i.e. "text/plain")</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>whether the file's mimetype string matches the provided mimetype string</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.is_directory"><a name="method-nautil
us-python-file-info--is-directory"></a><h3>nautilus.FileInfo.is_directory</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">is_directory</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>whether the item is a directory</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.can_write"><a name="method-nautilus-python-file-info--can-write"></a><h3>nautilus.FileInfo.can_write</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">can_write</span>()</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>whether the file is writeable</td></tr></tbody></table></
div><div class="refsect2" title="nautilus.FileInfo.add_emblem"><a name="method-nautilus-python-file-info--add-emblem"></a><h3>nautilus.FileInfo.add_emblem</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">add_emblem</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>emblem_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>emblem_name</code></strong>Â :</span></p></td><td>the name of an emblem to add</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.get_string_attribute"><a name="method-nautilus-python-file-info--get-string-attribute"></a><h3>nautilus.FileInfo.get_string_attribute</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_string_attribute</span>(<span class=
"methodparam"><span class="parameter"><strong class="parameter"><code>attribute_name</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>attribute_name</code></strong>Â :</span></p></td><td>a string attribute name</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>the value associated with the file attribute</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.add_string_attribute"><a name="method-nautilus-python-file-info--add-string-attribute"></a><h3>nautilus.FileInfo.add_string_attribute</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">add_string_attribute</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>attribute_name</code></strong></span></span>, <span cla
ss="methodparam"><span class="parameter"><strong class="parameter"><code>value</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>attribute_name</code></strong>Â :</span></p></td><td>a string attribute name</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>value</code></strong>Â :</span></p></td><td>an attribute value</td></tr></tbody></table></div><div class="refsect2" title="nautilus.FileInfo.invalidate_extension_info"><a name="method-nautilus-python-file-info--invalidate-extension-info"></a><h3>nautilus.FileInfo.invalidate_extension_info</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">invalidate_extension_info</span>()</code></pre><p>Invalidates the information Nautilus has about this file, which causes it to request new information
+ from its <a class="link" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"><code class="classname">nautilus.InfoProvider</code></a> providers.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-column.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-menu.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.Column </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.Menu</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-info-provider.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-info-provider.html
new file mode 100644
index 0000000..cdf56a1
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-info-provider.html
@@ -0,0 +1,52 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.InfoProvider</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces"><link rel="prev" href="class-nautilus-python-column-provider.html" title="nautilus.ColumnProvider"><link rel="next" href="class-nautilus-python-location-widget-provider.html" title="nautilus.LocationWidgetProvider"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.InfoProvider</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-column-provider.html">Prev</a>Â </td><th width="60%" align="center">
Provider Interfaces</th><td width="20%" align="right">Â <a accesskey="n" href="class-nautilus-python-location-widget-provider.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.InfoProvider"><a name="class-nautilus-python-info-provider"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.InfoProvider</h2><p>nautilus.InfoProvider â?? nautilus.InfoProvider Reference</p></div><div class="refsect1" title="Synopsis"><a name="id393499"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.InfoProvider</span></span>:
+<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info" title="nautilus.InfoProvider.update_file_info">update_file_info</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>file</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info-full" title="nautilus.InfoProvider.update_file_info_full">update_file_info_full</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>handle</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>closure</c
ode></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>file</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--cancel-update" title="nautilus.InfoProvider.cancel_update">cancel_update</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>handle</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-complete-invoke" title="nautilus.InfoProvider.update_complete_invoke">update_complete_invoke</a></span>(<span class="methodparam"><span class="parameter"><strong c
lass="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>handle</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>closure</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>result</code></strong></span><span class="initializer">=nautilus.OPERATION_COMPLETE</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a name="description-info-provider"></a><h2>Description</h2><p>
+ If subclassed, Nautilus will call update_file_info(_full) to notify extensions of which
+ files are being viewed by the user. This gives extensions an opportunity to invoke actions on the files,
+ or to add emblems or attributes.
+ </p><div class="example"><a name="id368160"></a><p class="title"><b>Example 3. nautilus.InfoProvider Example</b></p><div class="example-contents"><pre class="programlisting">
+import os.path
+import nautilus
+
+class SimpleInfoProviderExample(nautilus.InfoProvider):
+ def __init__(self):
+ pass
+
+ def update_file_info(self, file):
+ if os.path.splitext(file.get_name())[1] == ".mp3":
+ file.add_emblem("multimedia")
+ </pre></div></div><br class="example-break"></div><div class="refsect1" title="Passive Methods"><a name="id334682"></a><h2>Passive Methods</h2><div class="refsect2" title="nautilus.InfoProvider.update_file_info"><a name="method-nautilus-python-info-provider--update-file-info"></a><h3>nautilus.InfoProvider.update_file_info</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">update_file_info</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>file</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>file</code></strong>Â :</span></p></td><td>a <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> object</td></tr></tbody></table><p>
+ This method is called by Nautilus for each file or folder that exists under the
+ current directory listing. There is no return value.
+ </p></div><div class="refsect2" title="nautilus.InfoProvider.update_file_info_full"><a name="method-nautilus-python-info-provider--update-file-info-full"></a><h3>nautilus.InfoProvider.update_file_info_full</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">update_file_info_full</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>handle</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>closure</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>file</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><co
de>provider</code></strong>Â :</span></p></td><td>the current <a class="link" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"><code class="classname">nautilus.InfoProvider</code></a> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>handle</code></strong>Â :</span></p></td><td>a <code class="classname">gobject.gpointer</code> generated solely to track this call</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>closure</code></strong>Â :</span></p></td><td>a C Closure that must be passed to <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-complete-invoke" title="nautilus.InfoProvider.update_complete_invoke">update_complete_invoke</a> if that method is called</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>file</code></strong>Â :</span></p></td><td>a <a class="link" href="class-nautilus-python-file-info.html" title="
nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> object</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>None or a <a class="link" href="enum-nautilus-python-operation-result.html" title="nautilus.OperationResult"><code class="classname">nautilus.OperationResult</code></a> enum</td></tr></tbody></table><p>
+ This method is called by Nautilus for each file or folder that exists under the
+ current directory listing. Originally, <a class="link" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"><code class="classname">nautilus.InfoProvider</code></a>
+ only provided the update_file_info
+ method, which blocked Nautilus when the method required a lot of computation time. This method was
+ created to allow an extension to tell Nautilus that it will be spending time on an operation and that
+ Nautilus should not block itself during that time.
+ </p><p>
+ In order to notify Nautilus of your extension's intentions, you must return a
+ <a class="link" href="enum-nautilus-python-operation-result.html" title="nautilus.OperationResult"><code class="classname">nautilus.OperationResult</code></a> enum.
+ Then, when the operation has completed, call the self.update_complete_invoke method, passing the provider,
+ handle and closure variables as parameters.
+ </p><p>
+ This method was created for backwards compatibility reasons. If your
+ extension used the <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info" title="nautilus.InfoProvider.update_file_info"><code class="function">update_file_info</code></a> method and you want non-blocking
+ usage, you should switch to this method.
+ </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
+ This method was introduced in nautilus-python 0.7.0.
+ </div></div><div class="refsect2" title="nautilus.InfoProvider.cancel_update"><a name="method-nautilus-python-info-provider--cancel-update"></a><h3>nautilus.InfoProvider.cancel_update</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">cancel_update</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>handle</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>provider</code></strong>Â :</span></p></td><td>the current <a class="link" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"><code class="classname">nautilus.InfoProvider</code></a> instance</td></tr><tr><td><p><span class="term"><strong
class="parameter"><code>handle</code></strong>Â :</span></p></td><td>a <code class="classname">gobject.gpointer</code> generated by a specific update_file_info_full call</td></tr></tbody></table><p>
+ This method is called by Nautilus when an update_file_info_full call is in progress
+ but is no longer required. This may happen because the user is moving directories or a file
+ has been deleted, etc. You may use the handle parameter here to match the
+ handle parameter passed in <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info-full" title="nautilus.InfoProvider.update_file_info_full"><code class="function">update_file_info_full</code></a>.
+ </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
+ This method was introduced in nautilus-python 0.7.0.
+ </div></div></div><div class="refsect1" title="Active Methods"><a name="id346611"></a><h2>Active Methods</h2><div class="refsect2" title="nautilus.InfoProvider.update_complete_invoke"><a name="method-nautilus-python-info-provider--update-complete-invoke"></a><h3>nautilus.InfoProvider.update_complete_invoke</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">update_complete_invoke</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>handle</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>closure</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>result</code></strong></span><span class="initializer">=nautilus.OPERATION_COMEPLETE</span></span>)</c
ode></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>provider</code></strong>Â :</span></p></td><td>the current <a class="link" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"><code class="classname">nautilus.InfoProvider</code></a> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>handle</code></strong>Â :</span></p></td><td>a <code class="classname">gobject.gpointer</code> generated by a specific update_file_info_full call</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>closure</code></strong>Â :</span></p></td><td>a C Closure that must be passed to <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-complete-invoke" title="nautilus.InfoProvider.update_complete_invoke">update_complete_invoke</a> if that method is called</
td></tr><tr><td><p><span class="term"><strong class="parameter"><code>result</code></strong>Â :</span></p></td><td>an optional parameter. If left out, <code class="classname">nautilus.OPERATION_COMPLETE</code> is assumed.
+ Otherwise, you may pass any any of the <a class="link" href="enum-nautilus-python-operation-result.html" title="nautilus.OperationResult"><code class="classname">nautilus.OperationResult</code></a> enums.</td></tr></tbody></table><p>
+ An extension must call this method for each update_file_info_full method that
+ returns the <code class="classname">nautilus.OPERATION_IN_PROGRESS</code> enum.
+ The method must be called with the provider, handle, and closure parameters which were passed to the earlier <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info-full" title="nautilus.InfoProvider.update_file_info_full"><code class="function">update_file_info_full</code></a> method.
+ </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
+ This method was introduced in nautilus-python 0.7.0.
+ </div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-column-provider.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-provider-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-location-widget-provider.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.ColumnProvider </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.LocationWidgetProvider</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-location-widget-provider.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-location-widget-provider.html
new file mode 100644
index 0000000..5ea00ec
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-location-widget-provider.html
@@ -0,0 +1,20 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.LocationWidgetProvider</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces"><link rel="prev" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"><link rel="next" href="class-nautilus-python-menu-provider.html" title="nautilus.MenuProvider"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.LocationWidgetProvider</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-info-provider.html">Prev</a>Â </td><th width="60%" align="center">Provide
r Interfaces</th><td width="20%" align="right">Â <a accesskey="n" href="class-nautilus-python-menu-provider.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.LocationWidgetProvider"><a name="class-nautilus-python-location-widget-provider"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.LocationWidgetProvider</h2><p>nautilus.LocationWidgetProvider â?? nautilus.LocationWidgetProvider Reference</p></div><div class="refsect1" title="Synopsis"><a name="id358079"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.LocationWidgetProvider</span></span>:
+<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-location-widget-provider.html#method-nautilus-location-widget-provider--get-widget" title="nautilus.LocationWidgetProvider.get_widget">get_widget</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>uri</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a name="description-location-widget-provider"></a><h2>Description</h2><p>
+ If subclassed, Nautilus will request a widget to be displayed at the top of the directory listing.
+ </p><div class="example"><a name="id341002"></a><p class="title"><b>Example 4. nautilus.LocationWidgetProvider Example</b></p><div class="example-contents"><pre class="programlisting">
+import nautilus
+import gtk
+
+class LocationProviderExample(nautilus.LocationWidgetProvider):
+ def __init__(self):
+ pass
+
+ def get_widget(self, uri, window):
+ entry = gtk.Entry()
+ entry.set_text(uri)
+ entry.show()
+ return entry
+ </pre></div></div><br class="example-break"></div><div class="refsect1" title="Passive Methods"><a name="id343610"></a><h2>Passive Methods</h2><div class="refsect2" title="nautilus.LocationWidgetProvider.get_widget"><a name="method-nautilus-location-widget-provider--get-widget"></a><h3>nautilus.LocationWidgetProvider.get_widget</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_widget</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>uri</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>uri</code></strong>Â :</span></p></td><td>the current folder uri</td></tr><tr><td><p><span class="term"><strong class="parameter"><cod
e>window</code></strong>Â :</span></p></td><td>the current <code class="classname">gtk.Window</code> instance</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a <code class="classname">gtk.Widget</code> object</td></tr></tbody></table><p>
+ This function is called by Nautilus when it wants a location widget from the extension.
+ It is called in the main thread before a directory listing is shown, so it should return quickly.
+ </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-info-provider.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-provider-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-menu-provider.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.InfoProvider </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.MenuProvider</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu-item.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu-item.html
new file mode 100644
index 0000000..6851d8d
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu-item.html
@@ -0,0 +1,18 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.MenuItem</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-class-reference.html" title="Available Classes"><link rel="prev" href="class-nautilus-python-menu.html" title="nautilus.Menu"><link rel="next" href="class-nautilus-python-property-page.html" title="nautilus.PropertyPage"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.MenuItem</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-menu.html">Prev</a>Â </td><th width="60%" align="center">Available Classes</th><td width="20%" align="right">Â <a accesskey
="n" href="class-nautilus-python-property-page.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.MenuItem"><a name="class-nautilus-python-menu-item"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.MenuItem</h2><p>nautilus.MenuItem â?? nautilus.MenuItem Reference</p></div><div class="refsect1" title="Synopsis"><a name="id385000"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.MenuItem</span></span>(<span class="ooclass"><span class="classname"><a
+href="../pygobject/class-gobject.html"
+>gobject.GObject</a></span></span>):
+<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-nautilus-python-menu-item.html#constructor-nautilus-menu-item" title="Constructor">nautilus.MenuItem</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>tooltip</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu-item.html#method-nautilus-python-menu-item--activate" title="nautilus.MenuItem.activate">activate</a></span>()</code><br><code class="methodsynopsis"> def <span class="methodname"><a cla
ss="link" href="class-nautilus-python-menu-item.html#method-nautilus-python-menu-item--set_submenu" title="nautilus.MenuItem.set_submenu">set_submenu</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>menu</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id385673"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
+href="../pygobject/class-gobject.html"
+>gobject.GObject</a>
+ +-- <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem">nautilus.MenuItem</a>
+</pre></div><div class="refsect1" title="Description"><a name="description-menu-item"></a><h2>Description</h2><p>
+ <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects are appended to lists to create menus and submenus.
+ </p></div><div class="refsect1" title="Properties"><a name="id399382"></a><h2>Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"icon"</td><td valign="top">Name of the icon to display in the menu item. Default value: None</td><td valign="top">Read-Write</td></tr><tr valign="top"><td valign="top">"label"</td><td valign="top">The label to display to the user. Default value: None</td><td valign="top">Read-Write</td></tr><tr valign="top"><td valign="top">"menu"</td><td valign="top">The <a class="link" href="class-nautilus-python-menu.html" title="nautilus.Menu">nautilus.Menu</a> menu object belonging to this item. May be None.</td><td valign="top">Read-Write</td></tr><tr valign="top"><td valign="top">"name"</td><td valign="top">The name of the
item. Default value: None</td><td valign="top">Read-Write-ConstructOnly</td></tr><tr valign="top"><td valign="top">"priority"</td><td valign="top">Whether or not to show priority text in toolbars. Default value: True</td><td valign="top">Read-Write</td></tr><tr valign="top"><td valign="top">"sensitive"</td><td valign="top">Whether or not the menu item is sensitive. Default value: True</td><td valign="top">Read-Write</td></tr><tr valign="top"><td valign="top">"tip"</td><td valign="top">The tooltip for the menu item. Default value: None</td><td valign="top">Read-Write</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Signals"><a name="id390085"></a><h2>Signals</h2><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><a class="link" href="class-nautilus-python-menu-item.html#signal-nautilus-python-menu-item--activate" title='The "activate" nautilus.MenuItem Sig
nal'>"activate"</a></span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>item</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Constructor"><a name="constructor-nautilus-menu-item"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">nautilus.MenuItem</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span></span>, <span class="methodparam"><span class=
"parameter"><strong class="parameter"><code>tooltip</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>icon</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong>Â :</span></p></td><td>identifier of the item</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>label</code></strong>Â :</span></p></td><td>the user-visible label for the item</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>tooltip</code></strong>Â :</span></p></td><td>the user-visible tooltip for the item</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>icon</code></strong>Â :</span></p></td><td>Name of the icon to display in the item</td></tr></tbody></table><p>
+ Creates a new <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> object.
+ </p></div><div class="refsect1" title="Public Methods"><a name="id363008"></a><h2>Public Methods</h2><div class="refsect2" title="nautilus.MenuItem.activate"><a name="method-nautilus-python-menu-item--activate"></a><h3>nautilus.MenuItem.activate</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">activate</span>()</code></pre><p>
+ Generates the "<a class="link" href="class-nautilus-python-menu-item.html#signal-nautilus-python-menu-item--activate" title='The "activate" nautilus.MenuItem Signal'>activate</a>" signal for this <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a>.
+ </p></div><div class="refsect2" title="nautilus.MenuItem.set_submenu"><a name="method-nautilus-python-menu-item--set_submenu"></a><h3>nautilus.MenuItem.set_submenu</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_submenu</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>menu</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>menu</code></strong>Â :</span></p></td><td>a <a class="link" href="class-nautilus-python-menu.html" title="nautilus.Menu"><code class="classname">nautilus.Menu</code></a></td></tr></tbody></table><p>
+ Attaches a <a class="link" href="class-nautilus-python-menu.html" title="nautilus.Menu"><code class="classname">nautilus.Menu</code></a> as the submenu for this <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a>.
+ </p></div></div><div class="refsect1" title="Signal Details"><a name="id385445"></a><h2>Signal Details</h2><div class="refsect2" title='The "activate" nautilus.MenuItem Signal'><a name="signal-nautilus-python-menu-item--activate"></a><h3>The "activate" nautilus.MenuItem Signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>item</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><em class="parameter"><code>item</code></em>Â :</span></p></td><td>the <a class="link" href="class-nautilus-python-menu-i
tem.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> being activated</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em>Â :</span></p></td><td>User-defined parameter the user attaches to the signal connector</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em>Â :</span></p></td><td>Additional parameter(s) the user attaches to the signal connector</td></tr></tbody></table><p>
+ Emits the "<a class="link" href="class-nautilus-python-menu-item.html#signal-nautilus-python-menu-item--activate" title='The "activate" nautilus.MenuItem Signal'>activate</a>" signal.
+ </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-menu.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-property-page.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.Menu </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.PropertyPage</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu-provider.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu-provider.html
new file mode 100644
index 0000000..d0beac7
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu-provider.html
@@ -0,0 +1,96 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.MenuProvider</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces"><link rel="prev" href="class-nautilus-python-location-widget-provider.html" title="nautilus.LocationWidgetProvider"><link rel="next" href="class-nautilus-python-property-page-provider.html" title="nautilus.PropertyPageProvider"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.MenuProvider</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-location-widget-provider.html">Prev</a>Â </td><th width
="60%" align="center">Provider Interfaces</th><td width="20%" align="right">Â <a accesskey="n" href="class-nautilus-python-property-page-provider.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.MenuProvider"><a name="class-nautilus-python-menu-provider"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.MenuProvider</h2><p>nautilus.MenuProvider â?? nautilus.MenuProvider Reference</p></div><div class="refsect1" title="Synopsis"><a name="id341357"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.MenuProvider</span></span>:
+<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-file-items" title="nautilus.MenuProvider.get_file_items">get_file_items</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>files</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-file-items-full" title="nautilus.MenuProvider.get_file_items_full">get_file_items_full</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong
></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>files</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-background-items" title="nautilus.MenuProvider.get_background_items">get_background_items</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>folder</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-background-items-full" title="nautilus.MenuProvider.get_background_items_full">get_background_items_full</a></span>(<span class="methodparam"><span class="par
ameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>folder</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-toolbar-items" title="nautilus.MenuProvider.get_toolbar_items">get_toolbar_items</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>folder</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu-provider.html#method-nautilus-python-me
nu-provider--get-toolbar-items-full" title="nautilus.MenuProvider.get_toolbar_items_full">get_toolbar_items_full</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>folder</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--emit-items-updated-signal" title="nautilus.MenuProvider.emit_items_updated_signal">emit_items_updated_signal</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a nam
e="description-menu-provider"></a><h2>Description</h2><p>
+ If subclassed, Nautilus will request a list of <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects,
+ which are then attached to various menus. Nautilus expects at least one of
+ the following methods to be defined (or their *_full variants): get_file_items,
+ get_background_items, or get_toolbar_items.
+ </p><div class="example"><a name="id346073"></a><p class="title"><b>Example 5. nautilus.MenuProvider Example</b></p><div class="example-contents"><pre class="programlisting">
+import os
+import urllib
+
+import gtk
+import nautilus
+import gconf
+
+TERMINAL_KEY = '/desktop/gnome/applications/terminal/exec'
+
+class OpenTerminalExtension(nautilus.MenuProvider):
+ def __init__(self):
+ self.client = gconf.client_get_default()
+
+ def _open_terminal(self, file):
+ filename = urllib.unquote(file.get_uri()[7:])
+ terminal = self.client.get_string(TERMINAL_KEY)
+
+ os.chdir(filename)
+ os.system('%s &' % terminal)
+
+ def menu_activate_cb(self, menu, file):
+ self._open_terminal(file)
+
+ def menu_background_activate_cb(self, menu, file):
+ self._open_terminal(file)
+
+ def get_file_items(self, window, files):
+ if len(files) != 1:
+ return
+
+ file = files[0]
+ if not file.is_directory() or file.get_uri_scheme() != 'file':
+ return
+
+ item = nautilus.MenuItem('NautilusPython::openterminal_file_item',
+ 'Open Terminal' ,
+ 'Open Terminal In %s' % file.get_name())
+ item.connect('activate', self.menu_activate_cb, file)
+ return item,
+
+ def get_background_items(self, window, file):
+ item = nautilus.MenuItem('NautilusPython::openterminal_item',
+ 'Open Terminal Here',
+ 'Open Terminal In This Directory')
+ item.connect('activate', self.menu_background_activate_cb, file)
+ return item,
+ </pre></div></div><br class="example-break"><div class="refsect1" title="Signals"><a name="id380718"></a><h2>Signals</h2><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><a class="link" href="class-nautilus-python-menu-provider.html#signal-nautilus-python-menu-provider--items-updated" title='The "items-updated" nautilus.MenuProvider Signal'>"items-updated"</a></span></p></td><td><code class="methodsynopsis"> def <span class="methodname">callback</span>()</code></td></tr></tbody></table></div></div><div class="refsect1" title="Passive Methods"><a name="id399800"></a><h2>Passive Methods</h2><div class="refsect2" title="nautilus.MenuProvider.get_file_items"><a name="method-nautilus-python-menu-provider--get-file-items"></a><h3>nautilus.MenuProvider.get_file_items</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_file_items</span>(<span class="met
hodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>files</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>window</code></strong>Â :</span></p></td><td>the current <code class="classname">gtk.Window</code> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>menu</code></strong>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> objects.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code clas
s="classname">nautilus.MenuItem</code></a> objects</td></tr></tbody></table><p>
+ The <code class="methodname">get_file_items</code>() method returns a list of
+ <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects.
+ </p></div><div class="refsect2" title="nautilus.MenuProvider.get_file_items_full"><a name="method-nautilus-python-menu-provider--get-file-items-full"></a><h3>nautilus.MenuProvider.get_file_items_full</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_file_items_full</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>files</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>provider</code></strong>Â :</span></p></td><td>the current <a class="link" href="class-nautilus-python-menu-provider.html" ti
tle="nautilus.MenuProvider"><code class="classname">nautilus.MenuProvider</code></a> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>window</code></strong>Â :</span></p></td><td>the current <code class="classname">gtk.Window</code> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>files</code></strong>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> objects.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects</td></tr></tbody></table><p>
+ The <code class="methodname">get_file_items_full</code>() method returns a list of
+ <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code> objects</a>.
+ </p><p>
+ This method was created in order to allow extension writers to call the
+ nautilus.MenuProvider.emit_items_updated_signal, which must
+ be passed the current provider instance.
+ </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
+ This method was introduced in nautilus-python 0.7.0.
+ </div></div><div class="refsect2" title="nautilus.MenuProvider.get_background_items"><a name="method-nautilus-python-menu-provider--get-background-items"></a><h3>nautilus.MenuProvider.get_background_items</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_background_items</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>folder</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>window</code></strong>Â :</span></p></td><td>the current <code class="classname">gtk.Window</code> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>folder</code></strong>Â :</span></p></td><td>the current fold
er, as a <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> object.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects</td></tr></tbody></table><p>
+ The <code class="methodname">get_background_items</code>() method returns a list of
+ <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code> objects</a>.
+ </p></div><div class="refsect2" title="nautilus.MenuProvider.get_background_items_full"><a name="method-nautilus-python-menu-provider--get-background-items-full"></a><h3>nautilus.MenuProvider.get_background_items_full</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_background_items_full</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>folder</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>provider</code></strong>Â :</span></p></td><td>the current <a class="link" href="class-nautilus-pyth
on-menu-provider.html" title="nautilus.MenuProvider"><code class="classname">nautilus.MenuProvider</code></a> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>window</code></strong>Â :</span></p></td><td>the current <code class="classname">gtk.Window</code> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>folder</code></strong>Â :</span></p></td><td>the current folder, as a <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> object.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects</td></tr></tbody></table><p>
+ The <code class="methodname">get_background_items_full</code>() method returns a list of
+ <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code> objects</a>.
+ </p><p>
+ This method was created in order to allow extension writers to call the
+ nautilus.MenuProvider.emit_items_updated_signal, which must
+ be passed the current provider instance.
+ </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
+ This method was introduced in nautilus-python 0.7.0.
+ </div></div><div class="refsect2" title="nautilus.MenuProvider.get_toolbar_items"><a name="method-nautilus-python-menu-provider--get-toolbar-items"></a><h3>nautilus.MenuProvider.get_toolbar_items</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_toolbar_items</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>folder</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>window</code></strong>Â :</span></p></td><td>the current <code class="classname">gtk.Window</code> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>folder</code></strong>Â :</span></p></td><td>the current folder, as a <a
class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> object.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects</td></tr></tbody></table><p>
+ The <code class="methodname">get_toolbar_items</code>() method returns a list of
+ <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code> objects</a>.
+ </p></div><div class="refsect2" title="nautilus.MenuProvider.get_toolbar_items_full"><a name="method-nautilus-python-menu-provider--get-toolbar-items-full"></a><h3>nautilus.MenuProvider.get_toolbar_items_full</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_toolbar_items_full</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>window</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>folder</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>provider</code></strong>Â :</span></p></td><td>the current <a class="link" href="class-nautilus-python-menu-prov
ider.html" title="nautilus.MenuProvider"><code class="classname">nautilus.MenuProvider</code></a> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>window</code></strong>Â :</span></p></td><td>the current <code class="classname">gtk.Window</code> instance</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>folder</code></strong>Â :</span></p></td><td>the current folder, as a <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> object.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects</td></tr></tbody></table><p>
+ The <code class="methodname">get_toolbar_items_full</code>() method returns a list of
+ <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code> objects</a>.
+ </p><p>
+ This method was created in order to allow extension writers to call the
+ nautilus.MenuProvider.emit_items_updated_signal, which must
+ be passed the current provider instance.
+ </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
+ This method was introduced in nautilus-python 0.7.0.
+ </div></div></div><div class="refsect1" title="Active Methods"><a name="id358167"></a><h2>Active Methods</h2><div class="refsect2" title="nautilus.MenuProvider.emit_items_updated_signal"><a name="method-nautilus-python-menu-provider--emit-items-updated-signal"></a><h3>nautilus.MenuProvider.emit_items_updated_signal</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">emit_items_updated_signal</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>provider</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>provider</code></strong>Â :</span></p></td><td>the current <a class="link" href="class-nautilus-python-menu-provider.html" title="nautilus.MenuProvider"><code class="classname">nautilus.MenuProvider</code></a> instance</td></tr></tbody></tab
le><p>
+ Emits the "<a class="link" href="class-nautilus-python-menu-provider.html#signal-nautilus-python-menu-provider--items-updated" title='The "items-updated" nautilus.MenuProvider Signal'>items-updated</a>" signal.
+ </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3>
+ This method was introduced in nautilus-python 0.7.0.
+ </div></div></div><div class="refsect1" title="Signal Details"><a name="id395284"></a><h2>Signal Details</h2><div class="refsect2" title='The "items-updated" nautilus.MenuProvider Signal'><a name="signal-nautilus-python-menu-provider--items-updated"></a><h3>The "items-updated" nautilus.MenuProvider Signal</h3><p>
+ Emits the "<a class="link" href="class-nautilus-python-menu-provider.html#signal-nautilus-python-menu-provider--items-updated" title='The "items-updated" nautilus.MenuProvider Signal'>items-updated</a>" signal.
+ </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-location-widget-provider.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-provider-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-property-page-provider.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.LocationWidgetProvider </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.PropertyPageProvider</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu.html
new file mode 100644
index 0000000..e8f8edc
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-menu.html
@@ -0,0 +1,16 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.Menu</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-class-reference.html" title="Available Classes"><link rel="prev" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><link rel="next" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.Menu</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-file-info.html">Prev</a>Â </td><th width="60%" align="center">Available Classes</th><td width="20%" align="right">Â <a accesskey="
n" href="class-nautilus-python-menu-item.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.Menu"><a name="class-nautilus-python-menu"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.Menu</h2><p>nautilus.Menu â?? nautilus.Menu Reference</p></div><div class="refsect1" title="Synopsis"><a name="id345030"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.Menu</span></span>(<span class="ooclass"><span class="classname"><a
+href="../pygobject/class-gobject.html"
+>gobject.GObject</a></span></span>):
+<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-nautilus-python-menu.html#constructor-nautilus-menu" title="Constructor">nautilus.Menu</a></span>()</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu.html#method-nautilus-python-menu--append_item" title="nautilus.Menu.append_item">append_item</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>item</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-menu.html#method-nautilus-python-menu--get_items" title="nautilus.Menu.get_items">get_items</a></span>()</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id398728"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
+href="../pygobject/class-gobject.html"
+>gobject.GObject</a>
+ +-- <a class="link" href="class-nautilus-python-menu.html" title="nautilus.Menu">nautilus.Menu</a>
+</pre></div><div class="refsect1" title="Description"><a name="description-menu"></a><h2>Description</h2><p>
+ A nautilus.Menu object allows an extension to create sub-menus.
+ </p></div><div class="refsect1" title="Constructor"><a name="constructor-nautilus-menu"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">nautilus.Menu</span>()</code></pre><p>
+ Creates a new <a class="link" href="class-nautilus-python-menu.html" title="nautilus.Menu"><code class="classname">nautilus.Menu</code></a> object.
+ </p></div><div class="refsect1" title="Public Methods"><a name="id401190"></a><h2>Public Methods</h2><div class="refsect2" title="nautilus.Menu.append_item"><a name="method-nautilus-python-menu--append_item"></a><h3>nautilus.Menu.append_item</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">append_item</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>item</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>item</code></strong>Â :</span></p></td><td>a <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a></td></tr></tbody></table><p>
+ Append a <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> to a <a class="link" href="class-nautilus-python-menu.html" title="nautilus.Menu"><code class="classname">nautilus.Menu</code></a>.
+ </p></div><div class="refsect2" title="nautilus.Menu.get_items"><a name="method-nautilus-python-menu--get_items"></a><h3>nautilus.Menu.get_items</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_items</span>()</code></pre><p>
+ Returns a list of <a class="link" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><code class="classname">nautilus.MenuItem</code></a> objects attached to the <a class="link" href="class-nautilus-python-menu.html" title="nautilus.Menu"><code class="classname">nautilus.Menu</code></a>.
+ </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-file-info.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-menu-item.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.FileInfo </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.MenuItem</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-property-page-provider.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-property-page-provider.html
new file mode 100644
index 0000000..6afed9a
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-property-page-provider.html
@@ -0,0 +1,51 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.PropertyPageProvider</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-provider-reference.html" title="Provider Interfaces"><link rel="prev" href="class-nautilus-python-menu-provider.html" title="nautilus.MenuProvider"><link rel="next" href="nautilus-python-enum-reference.html" title="Available Enums"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.PropertyPageProvider</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-menu-provider.html">Prev</a>Â </td><th width="60%" align="center">Provider Interfaces</t
h><td width="20%" align="right">Â <a accesskey="n" href="nautilus-python-enum-reference.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.PropertyPageProvider"><a name="class-nautilus-python-property-page-provider"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.PropertyPageProvider</h2><p>nautilus.PropertyPageProvider â?? nautilus.PropertyPageProvider Reference</p></div><div class="refsect1" title="Synopsis"><a name="id344541"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.PropertyPageProvider</span></span>:
+<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-nautilus-python-property-page-provider.html#method-nautilus-property-page-provider--get-pages" title="nautilus.PropertyPageProvider.get_pages">get_pages</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>files</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Description"><a name="description-property-page-provider"></a><h2>Description</h2><p>
+ If subclassed, Nautilus will request a list of custom property pages that should
+ appear when a user opens the Properties dialog for a file or folder.
+ </p><div class="example"><a name="id340134"></a><p class="title"><b>Example 6. nautilus.PropertyPageProvider Example</b></p><div class="example-contents"><pre class="programlisting">
+import hashlib
+import urllib
+
+import gtk
+import nautilus
+
+class MD5SumPropertyPage(nautilus.PropertyPageProvider):
+ def __init__(self):
+ pass
+
+ def get_property_pages(self, files):
+ if len(files) != 1:
+ return
+
+ file = files[0]
+ if file.get_uri_scheme() != 'file':
+ return
+
+ if file.is_directory():
+ return
+
+ filename = urllib.unquote(file.get_uri()[7:])
+
+ self.property_label = gtk.Label('MD5Sum')
+ self.property_label.show()
+
+ self.hbox = gtk.HBox(0, False)
+ self.hbox.show()
+
+ label = gtk.Label('MD5Sum:')
+ label.show()
+ self.hbox.pack_start(label)
+
+ self.value_label = gtk.Label()
+ self.hbox.pack_start(self.value_label)
+
+ md5sum = hashlib.md5(filename).hexdigest()
+ self.value_label.set_text(md5sum)
+ self.value_label.show()
+
+ return nautilus.PropertyPage("NautilusPython::md5_sum",
+ self.property_label, self.hbox),
+ </pre></div></div><br class="example-break"></div><div class="refsect1" title="Passive Methods"><a name="id395675"></a><h2>Passive Methods</h2><div class="refsect2" title="nautilus.PropertyPageProvider.get_pages"><a name="method-nautilus-property-page-provider--get-pages"></a><h3>nautilus.PropertyPageProvider.get_pages</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_pages</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>files</code></strong>Â :</span></p></td><td>a list of <a class="link" href="class-nautilus-python-file-info.html" title="nautilus.FileInfo"><code class="classname">nautilus.FileInfo</code></a> objects.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td><td>a list of <a class="link" href="clas
s-nautilus-python-property-page.html" title="nautilus.PropertyPage"><code class="classname">nautilus.PropertyPage</code></a> objects</td></tr></tbody></table><p>
+ This function is called by Nautilus when it wants property page items from the extension.
+ It is called in the main thread before a property page is shown, so it should return quickly.
+ </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-menu-provider.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-provider-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="nautilus-python-enum-reference.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.MenuProvider </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Available Enums</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-property-page.html b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-property-page.html
new file mode 100644
index 0000000..b8d9071
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/class-nautilus-python-property-page.html
@@ -0,0 +1,12 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.PropertyPage</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-class-reference.html" title="Available Classes"><link rel="prev" href="class-nautilus-python-menu-item.html" title="nautilus.MenuItem"><link rel="next" href="nautilus-python-provider-reference.html" title="Provider Interfaces"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.PropertyPage</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-menu-item.html">Prev</a>Â </td><th width="60%" align="center">Available Classes</th><td width="20%" align="ri
ght">Â <a accesskey="n" href="nautilus-python-provider-reference.html">Next</a></td></tr></table><hr></div><div class="refentry" title="nautilus.PropertyPage"><a name="class-nautilus-python-property-page"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.PropertyPage</h2><p>nautilus.PropertyPage â?? nautilus.PropertyPage Reference</p></div><div class="refsect1" title="Synopsis"><a name="id389217"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">nautilus.PropertyPage</span></span>(<span class="ooclass"><span class="classname"><a
+href="../pygobject/class-gobject.html"
+>gobject.GObject</a></span></span>):
+<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-nautilus-python-property-page.html#constructor-nautilus-property-page" title="Constructor">nautilus.PropertyPage</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>page</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id341687"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
+href="../pygobject/class-gobject.html"
+>gobject.GObject</a>
+ +-- <a class="link" href="class-nautilus-python-property-page.html" title="nautilus.PropertyPage">nautilus.PropertyPage</a>
+</pre></div><div class="refsect1" title="Description"><a name="description-property-page"></a><h2>Description</h2><p>
+ A <a class="link" href="class-nautilus-python-property-page.html" title="nautilus.PropertyPage"><code class="classname">nautilus.PropertyPage</code></a> object is returned by <a class="link" href="class-nautilus-python-property-page-provider.html" title="nautilus.PropertyPageProvider"><code class="classname">nautilus.PropertyPageProvider</code></a> extensions.
+ </p></div><div class="refsect1" title="Properties"><a name="id345688"></a><h2>Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"label"</td><td valign="top">The label widget displayed in the notebook tab.</td><td valign="top">Read-Write</td></tr><tr valign="top"><td valign="top">"name"</td><td valign="top">The name of the page. Default value: None</td><td valign="top">Read-Write-ConstructOnly</td></tr><tr valign="top"><td valign="top">"page"</td><td valign="top">The property page widget</td><td valign="top">Read-Write</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Constructor"><a name="constructor-nautilus-property-page"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsyno
psis"> <span class="methodname">nautilus.PropertyPage</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>label</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>page</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong>Â :</span></p></td><td>identifier of the property page</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>label</code></strong>Â :</span></p></td><td>the user-visible label for the property page</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>page</code></strong>Â :</span></p></td><td>the property page widget</td></tr></tbody></table
><p>
+ Creates a new <a class="link" href="class-nautilus-python-property-page.html" title="nautilus.PropertyPage"><code class="classname">nautilus.PropertyPage</code></a> object.
+ </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-menu-item.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="nautilus-python-provider-reference.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.MenuItem </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Provider Interfaces</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/enum-nautilus-python-operation-result.html b/projects.gnome.org/nautilus-python/documentation/html/enum-nautilus-python-operation-result.html
new file mode 100644
index 0000000..a9e70ef
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/enum-nautilus-python-operation-result.html
@@ -0,0 +1,7 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus.OperationResult</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-enum-reference.html" title="Available Enums"><link rel="prev" href="nautilus-python-enum-reference.html" title="Available Enums"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus.OperationResult</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="nautilus-python-enum-reference.html">Prev</a>Â </td><th width="60%" align="center">Available Enums</th><td width="20%" align="right">Â </td></tr></table><hr></div><div class="refentry" title="nautilus.OperationResult"><a na
me="enum-nautilus-python-operation-result"></a><div class="titlepage"></div><div class="refnamediv"><h2>nautilus.OperationResult</h2><p>nautilus.OperationResult â?? nautilus.OperationResult Reference</p></div><div class="refsect1" title="Description"><a name="description-operation-result"></a><h2>Description</h2><p>
+ The <a class="link" href="enum-nautilus-python-operation-result.html" title="nautilus.OperationResult"><code class="classname">nautilus.OperationResult</code></a> constants are
+ used by the <a class="link" href="class-nautilus-python-info-provider.html" title="nautilus.InfoProvider"><code class="classname">nautilus.InfoProvider</code></a> provider to
+ notify Nautilus what the extension intends to do when Nautilus calls the extension's <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info-full" title="nautilus.InfoProvider.update_file_info_full">update_file_info_full</a>
+ method. The possible values are as follows:
+ </p><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><code class="literal">nautilus.OPERATION_COMPLETE</code></span></p></td><td>The operation is complete and Nautilus can move on to the next <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info-full" title="nautilus.InfoProvider.update_file_info_full">update_file_info_full</a> call.</td></tr><tr><td><p><span class="term"><code class="literal">nautilus.OPERATION_IN_PROGRESS</code></span></p></td><td>The operation is in progress and running asynchronously and Nautilus should wait until the <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-complete-invoke" title="nautilus.InfoProvider.update_complete_invoke">update_complete_invoke</a> method
+ is called before moving on to the next <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info-full" title="nautilus.InfoProvider.update_file_info_full">update_file_info_full</a> call.</td></tr><tr><td><p><span class="term"><code class="literal">nautilus.OPERATION_FAILED</code></span></p></td><td>The operation has failed.</td></tr></tbody></table></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="nautilus-python-enum-reference.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-enum-reference.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Available Enums </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/index.html b/projects.gnome.org/nautilus-python/documentation/html/index.html
new file mode 100644
index 0000000..d47dd28
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/index.html
@@ -0,0 +1,2 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>nautilus-python Reference Manual</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><meta name="description" content="This reference describes the classes of the nautilus-python module."><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="next" href="nautilus-python-overview.html" title="Overview"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">nautilus-python Reference Manual</th></tr><tr><td width="20%" align="left">Â </td><th width="60%" align="center">Â </th><td width="20%" align="right">Â <a accesskey="n" href="nautilus-python-overview.html">Next</a></td></tr></table><hr></div><div class="book" title="nautilus-python Reference Manu
al"><div class="titlepage"><div><div><h1 class="title"><a name="nautilus-python-reference"></a>nautilus-python Reference Manual</h1></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Adam</span> <span class="surname">Plumb</span></h3></div></div></div><div><p class="releaseinfo">For nautilus-python version 0.7.0</p></div><div><p class="pubdate">2010-05-22
+</p></div><div><div class="abstract" title="Abstract"><p class="title"><b>Abstract</b></p><p>This reference describes the classes of the nautilus-python module.</p></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="nautilus-python-overview.html">Overview</a></span></dt><dt><span class="chapter"><a href="nautilus-python-class-reference.html">Available Classes</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="class-nautilus-python-column.html">nautilus.Column</a></span><span class="refpurpose"> â?? nautilus.Column Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-file-info.html">nautilus.FileInfo</a></span><span class="refpurpose"> â?? nautilus.FileInfo Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-menu.html">nautilus.Menu</a></span><span class="refpurpose"> â?? nautilus.Menu Reference</span></dt><dt><span class="refentrytitle"><
a href="class-nautilus-python-menu-item.html">nautilus.MenuItem</a></span><span class="refpurpose"> â?? nautilus.MenuItem Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-property-page.html">nautilus.PropertyPage</a></span><span class="refpurpose"> â?? nautilus.PropertyPage Reference</span></dt></dl></dd><dt><span class="chapter"><a href="nautilus-python-provider-reference.html">Provider Interfaces</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="class-nautilus-python-column-provider.html">nautilus.ColumnProvider</a></span><span class="refpurpose"> â?? nautilus.ColumnProvider Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-info-provider.html">nautilus.InfoProvider</a></span><span class="refpurpose"> â?? nautilus.InfoProvider Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-location-widget-provider.html">nautilus.LocationWidgetProvider</a></span><span class
="refpurpose"> â?? nautilus.LocationWidgetProvider Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-menu-provider.html">nautilus.MenuProvider</a></span><span class="refpurpose"> â?? nautilus.MenuProvider Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-property-page-provider.html">nautilus.PropertyPageProvider</a></span><span class="refpurpose"> â?? nautilus.PropertyPageProvider Reference</span></dt></dl></dd><dt><span class="chapter"><a href="nautilus-python-enum-reference.html">Available Enums</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="enum-nautilus-python-operation-result.html">nautilus.OperationResult</a></span><span class="refpurpose"> â?? nautilus.OperationResult Reference</span></dt></dl></dd></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1. <a href="nautilus-python-overview-example.html#id344529">A Simple Extension</a></dt><dt>2. <a href="class-n
autilus-python-column-provider.html#id346211">nautilus.ColumnProvider Example</a></dt><dt>3. <a href="class-nautilus-python-info-provider.html#id368160">nautilus.InfoProvider Example</a></dt><dt>4. <a href="class-nautilus-python-location-widget-provider.html#id341002">nautilus.LocationWidgetProvider Example</a></dt><dt>5. <a href="class-nautilus-python-menu-provider.html#id346073">nautilus.MenuProvider Example</a></dt><dt>6. <a href="class-nautilus-python-property-page-provider.html#id340134">nautilus.PropertyPageProvider Example</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">Â </td><td width="20%" align="center">Â </td><td width="40%" align="right">Â <a accesskey="n" href="nautilus-python-overview.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Â </td><td width="20%" align="center">Â </td><td width="40%" align="right" valign="top">Â Overview</td></tr></table></div></b
ody></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/index.sgml b/projects.gnome.org/nautilus-python/documentation/html/index.sgml
new file mode 100644
index 0000000..a5dc376
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/index.sgml
@@ -0,0 +1,67 @@
+<ANCHOR id="nautilus-python-reference" href="nautilus-python/index.html">
+ <ANCHOR id="class-nautilus-python-column" href="nautilus-python/class-nautilus-python-column.html">
+ <ANCHOR id="description-column" href="nautilus-python/class-nautilus-python-column.html#description-column">
+ <ANCHOR id="constructor-nautilus-column" href="nautilus-python/class-nautilus-python-column.html#constructor-nautilus-column">
+ <ANCHOR id="class-nautilus-python-file-info" href="nautilus-python/class-nautilus-python-file-info.html">
+ <ANCHOR id="description-file-info" href="nautilus-python/class-nautilus-python-file-info.html#description-file-info">
+ <ANCHOR id="method-nautilus-python-file-info--is-gone" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-gone">
+ <ANCHOR id="method-nautilus-python-file-info--get-file-type" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-file-type">
+ <ANCHOR id="method-nautilus-python-file-info--get-location" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-location">
+ <ANCHOR id="method-nautilus-python-file-info--get-name" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-name">
+ <ANCHOR id="method-nautilus-python-file-info--get-uri" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-uri">
+ <ANCHOR id="method-nautilus-python-file-info--get-activation-uri" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-activation-uri">
+ <ANCHOR id="method-nautilus-python-file-info--get-parent-info" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-info">
+ <ANCHOR id="method-nautilus-python-file-info--get-parent-location" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-location">
+ <ANCHOR id="method-nautilus-python-file-info--get-parent-uri" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-uri">
+ <ANCHOR id="method-nautilus-python-file-info--get-mount" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-mount">
+ <ANCHOR id="method-nautilus-python-file-info--get-uri-scheme" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-uri-scheme">
+ <ANCHOR id="method-nautilus-python-file-info--get-mime-type" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-mime-type">
+ <ANCHOR id="method-nautilus-python-file-info--is-mime-type" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-mime-type">
+ <ANCHOR id="method-nautilus-python-file-info--is-directory" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-directory">
+ <ANCHOR id="method-nautilus-python-file-info--can-write" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--can-write">
+ <ANCHOR id="method-nautilus-python-file-info--add-emblem" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--add-emblem">
+ <ANCHOR id="method-nautilus-python-file-info--get-string-attribute" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-string-attribute">
+ <ANCHOR id="method-nautilus-python-file-info--add-string-attribute" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--add-string-attribute">
+ <ANCHOR id="method-nautilus-python-file-info--invalidate-extension-info" href="nautilus-python/class-nautilus-python-file-info.html#method-nautilus-python-file-info--invalidate-extension-info">
+ <ANCHOR id="class-nautilus-python-menu" href="nautilus-python/class-nautilus-python-menu.html">
+ <ANCHOR id="description-menu" href="nautilus-python/class-nautilus-python-menu.html#description-menu">
+ <ANCHOR id="constructor-nautilus-menu" href="nautilus-python/class-nautilus-python-menu.html#constructor-nautilus-menu">
+ <ANCHOR id="method-nautilus-python-menu--append_item" href="nautilus-python/class-nautilus-python-menu.html#method-nautilus-python-menu--append_item">
+ <ANCHOR id="method-nautilus-python-menu--get_items" href="nautilus-python/class-nautilus-python-menu.html#method-nautilus-python-menu--get_items">
+ <ANCHOR id="class-nautilus-python-menu-item" href="nautilus-python/class-nautilus-python-menu-item.html">
+ <ANCHOR id="description-menu-item" href="nautilus-python/class-nautilus-python-menu-item.html#description-menu-item">
+ <ANCHOR id="constructor-nautilus-menu-item" href="nautilus-python/class-nautilus-python-menu-item.html#constructor-nautilus-menu-item">
+ <ANCHOR id="method-nautilus-python-menu-item--activate" href="nautilus-python/class-nautilus-python-menu-item.html#method-nautilus-python-menu-item--activate">
+ <ANCHOR id="method-nautilus-python-menu-item--set_submenu" href="nautilus-python/class-nautilus-python-menu-item.html#method-nautilus-python-menu-item--set_submenu">
+ <ANCHOR id="signal-nautilus-python-menu-item--activate" href="nautilus-python/class-nautilus-python-menu-item.html#signal-nautilus-python-menu-item--activate">
+ <ANCHOR id="class-nautilus-python-property-page" href="nautilus-python/class-nautilus-python-property-page.html">
+ <ANCHOR id="description-property-page" href="nautilus-python/class-nautilus-python-property-page.html#description-property-page">
+ <ANCHOR id="constructor-nautilus-property-page" href="nautilus-python/class-nautilus-python-property-page.html#constructor-nautilus-property-page">
+ <ANCHOR id="class-nautilus-python-column-provider" href="nautilus-python/class-nautilus-python-column-provider.html">
+ <ANCHOR id="description-column-provider" href="nautilus-python/class-nautilus-python-column-provider.html#description-column-provider">
+ <ANCHOR id="method-nautilus-column-provider--get-columns" href="nautilus-python/class-nautilus-python-column-provider.html#method-nautilus-column-provider--get-columns">
+ <ANCHOR id="class-nautilus-python-info-provider" href="nautilus-python/class-nautilus-python-info-provider.html">
+ <ANCHOR id="description-info-provider" href="nautilus-python/class-nautilus-python-info-provider.html#description-info-provider">
+ <ANCHOR id="method-nautilus-python-info-provider--update-file-info" href="nautilus-python/class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info">
+ <ANCHOR id="method-nautilus-python-info-provider--update-file-info-full" href="nautilus-python/class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info-full">
+ <ANCHOR id="method-nautilus-python-info-provider--cancel-update" href="nautilus-python/class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--cancel-update">
+ <ANCHOR id="method-nautilus-python-info-provider--update-complete-invoke" href="nautilus-python/class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-complete-invoke">
+ <ANCHOR id="class-nautilus-python-location-widget-provider" href="nautilus-python/class-nautilus-python-location-widget-provider.html">
+ <ANCHOR id="description-location-widget-provider" href="nautilus-python/class-nautilus-python-location-widget-provider.html#description-location-widget-provider">
+ <ANCHOR id="method-nautilus-location-widget-provider--get-widget" href="nautilus-python/class-nautilus-python-location-widget-provider.html#method-nautilus-location-widget-provider--get-widget">
+ <ANCHOR id="class-nautilus-python-menu-provider" href="nautilus-python/class-nautilus-python-menu-provider.html">
+ <ANCHOR id="description-menu-provider" href="nautilus-python/class-nautilus-python-menu-provider.html#description-menu-provider">
+ <ANCHOR id="method-nautilus-python-menu-provider--get-file-items" href="nautilus-python/class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-file-items">
+ <ANCHOR id="method-nautilus-python-menu-provider--get-file-items-full" href="nautilus-python/class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-file-items-full">
+ <ANCHOR id="method-nautilus-python-menu-provider--get-background-items" href="nautilus-python/class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-background-items">
+ <ANCHOR id="method-nautilus-python-menu-provider--get-background-items-full" href="nautilus-python/class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-background-items-full">
+ <ANCHOR id="method-nautilus-python-menu-provider--get-toolbar-items" href="nautilus-python/class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-toolbar-items">
+ <ANCHOR id="method-nautilus-python-menu-provider--get-toolbar-items-full" href="nautilus-python/class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-toolbar-items-full">
+ <ANCHOR id="method-nautilus-python-menu-provider--emit-items-updated-signal" href="nautilus-python/class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--emit-items-updated-signal">
+ <ANCHOR id="signal-nautilus-python-menu-provider--items-updated" href="nautilus-python/class-nautilus-python-menu-provider.html#signal-nautilus-python-menu-provider--items-updated">
+ <ANCHOR id="class-nautilus-python-property-page-provider" href="nautilus-python/class-nautilus-python-property-page-provider.html">
+ <ANCHOR id="description-property-page-provider" href="nautilus-python/class-nautilus-python-property-page-provider.html#description-property-page-provider">
+ <ANCHOR id="method-nautilus-property-page-provider--get-pages" href="nautilus-python/class-nautilus-python-property-page-provider.html#method-nautilus-property-page-provider--get-pages">
+ <ANCHOR id="enum-nautilus-python-operation-result" href="nautilus-python/enum-nautilus-python-operation-result.html">
+ <ANCHOR id="description-operation-result" href="nautilus-python/enum-nautilus-python-operation-result.html#description-operation-result">
+
\ No newline at end of file
diff --git a/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-class-reference.html b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-class-reference.html
new file mode 100644
index 0000000..c678ec0
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-class-reference.html
@@ -0,0 +1 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Available Classes</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="index.html" title="nautilus-python Reference Manual"><link rel="prev" href="nautilus-python-overview-methods.html" title="Explanation of Passive/Active Methods"><link rel="next" href="class-nautilus-python-column.html" title="nautilus.Column"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Available Classes</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="nautilus-python-overview-methods.html">Prev</a>Â </td><th width="60%" align="center">Â </th><td width="20%" align="right">Â <a accesskey="n
" href="class-nautilus-python-column.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Available Classes"><div class="titlepage"><div><div><h2 class="title"><a name="nautilus-python-class-reference"></a>Available Classes</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="refentrytitle"><a href="class-nautilus-python-column.html">nautilus.Column</a></span><span class="refpurpose"> â?? nautilus.Column Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-file-info.html">nautilus.FileInfo</a></span><span class="refpurpose"> â?? nautilus.FileInfo Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-menu.html">nautilus.Menu</a></span><span class="refpurpose"> â?? nautilus.Menu Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-menu-item.html">nautilus.MenuItem</a></span><span class="refpurpose"> â?? nautilus.MenuItem Reference</
span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-property-page.html">nautilus.PropertyPage</a></span><span class="refpurpose"> â?? nautilus.PropertyPage Reference</span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="nautilus-python-overview-methods.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-column.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Explanation of Passive/Active Methods </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.Column</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-enum-reference.html b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-enum-reference.html
new file mode 100644
index 0000000..6bb84d8
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-enum-reference.html
@@ -0,0 +1 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Available Enums</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="index.html" title="nautilus-python Reference Manual"><link rel="prev" href="class-nautilus-python-property-page-provider.html" title="nautilus.PropertyPageProvider"><link rel="next" href="enum-nautilus-python-operation-result.html" title="nautilus.OperationResult"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Available Enums</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-property-page-provider.html">Prev</a>Â </td><th width="60%" align="center">Â </th><td width="20%" a
lign="right">Â <a accesskey="n" href="enum-nautilus-python-operation-result.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Available Enums"><div class="titlepage"><div><div><h2 class="title"><a name="nautilus-python-enum-reference"></a>Available Enums</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="refentrytitle"><a href="enum-nautilus-python-operation-result.html">nautilus.OperationResult</a></span><span class="refpurpose"> â?? nautilus.OperationResult Reference</span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-property-page-provider.html">Prev</a>Â </td><td width="20%" align="center">Â </td><td width="40%" align="right">Â <a accesskey="n" href="enum-nautilus-python-operation-result.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.PropertyPageProvider
 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.OperationResult</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview-example.html b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview-example.html
new file mode 100644
index 0000000..be58dac
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview-example.html
@@ -0,0 +1,34 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>A Simple Extension</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-overview.html" title="Overview"><link rel="prev" href="nautilus-python-overview.html" title="Overview"><link rel="next" href="nautilus-python-overview-methods.html" title="Explanation of Passive/Active Methods"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">A Simple Extension</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="nautilus-python-overview.html">Prev</a>Â </td><th width="60%" align="center">Overview</th><td width="20%" align="right">Â <a accesskey="n" href="nautilus
-python-overview-methods.html">Next</a></td></tr></table><hr></div><div class="chapter" title="A Simple Extension"><div class="titlepage"><div><div><h2 class="title"><a name="nautilus-python-overview-example"></a>A Simple Extension</h2></div></div></div><p>Create an empty file with the following code:</p><div class="example"><a name="id344529"></a><p class="title"><b>Example 1. A Simple Extension</b></p><div class="example-contents"><pre class="programlisting">
+import nautilus
+
+class SimpleMenuExtension(nautilus.MenuProvider):
+def __init__(self):
+ pass
+
+def menu_activate_cb(self, menu, file):
+ print "menu_activate_cb",file
+
+def get_file_items(self, window, files):
+ if len(files) != 1:
+ return
+
+ file = files[0]
+
+ item = nautilus.MenuItem(
+ "SimpleMenuExtension::Show_File_Name",
+ "Showing %s" % file.get_name(),
+ "Showing %s" % file.get_name()
+ )
+ item.connect('activate', self.menu_activate_cb, file)
+
+ return [item]</pre></div></div><br class="example-break"><p>Save this file as TestExtension.py in the ~/.nautilus/python-extensions folder.
+ You may need to create this folder. To run, open the terminal and type:</p><div class="informalexample"><pre class="programlisting">
+$ nautilus -q
+$ nautilus --no-desktop</pre></div><p>Once Nautilus starts, right-click on a file and you should see a new menu item,
+ "Showing #filename#". It is as simple as that!</p><p>As mentioned above, in order to
+ get loaded by Nautilus, a python extension must import the nautilus module,
+ create a class derived from a nautilus *Provider, then create the methods that
+ will be called by Nautilus when it requests information from its providers.
+ In this case, when someone right-clicks on a file, Nautilus will ask all of its
+ MenuProviders for additional menu items to show the user. When folders or files are clicked,
+ the get_file_items method is called and a list of nautilus.MenuItems is expected.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="nautilus-python-overview.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-overview.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="nautilus-python-overview-methods.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Overview </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Explanation of Passive/Active Methods</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview-methods.html b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview-methods.html
new file mode 100644
index 0000000..5e7aaf3
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview-methods.html
@@ -0,0 +1,8 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Explanation of Passive/Active Methods</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="nautilus-python-overview.html" title="Overview"><link rel="prev" href="nautilus-python-overview-example.html" title="A Simple Extension"><link rel="next" href="nautilus-python-class-reference.html" title="Available Classes"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Explanation of Passive/Active Methods</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="nautilus-python-overview-example.html">Prev</a>Â </td><th width="60%" align="center">Overview</th><td width="20%" alig
n="right">Â <a accesskey="n" href="nautilus-python-class-reference.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Explanation of Passive/Active Methods"><div class="titlepage"><div><div><h2 class="title"><a name="nautilus-python-overview-methods"></a>Explanation of Passive/Active Methods</h2></div></div></div><p>Because nautilus-python is an interface to a Nautilus' extension interface rather than a true library, it is
+ rather quirky in how it works. One example of this is that several providers have additional public methods
+ that an extension actively calls, rather than the extension defining and the method in their class that is called by
+ Nautilus. You can see this with the <a class="link" href="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--emit-items-updated-signal" title="nautilus.MenuProvider.emit_items_updated_signal">nautilus.MenuProvider.emit_items_updated_signal</a>
+ and <a class="link" href="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-complete-invoke" title="nautilus.InfoProvider.update_complete_invoke">nautilus.InfoProvider.update_complete_invoke</a> methods, which
+ the extension actively calls, passing the provider instance as a parameter.
+ </p><p>Due to this confusion, I have termed these actively-called methods <span class="emphasis"><em>Active Methods</em></span> and the methods
+ called by Nautilus are termed <span class="emphasis"><em>Passive Methods</em></span>.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="nautilus-python-overview-example.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="nautilus-python-overview.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="nautilus-python-class-reference.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">A Simple Extension </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Available Classes</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview.html b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview.html
new file mode 100644
index 0000000..9174c46
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-overview.html
@@ -0,0 +1,10 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Overview</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="index.html" title="nautilus-python Reference Manual"><link rel="prev" href="index.html" title="nautilus-python Reference Manual"><link rel="next" href="nautilus-python-overview-example.html" title="A Simple Extension"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Overview</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a>Â </td><th width="60%" align="center">Â </th><td width="20%" align="right">Â <a accesskey="n" href="nautilus-python-overview-example.html">Next</a></td></tr></tab
le><hr></div><div class="chapter" title="Overview"><div class="titlepage"><div><div><h2 class="title"><a name="nautilus-python-overview"></a>Overview</h2></div></div></div><p>Writing a Nautilus-Python extension is a fairly straight-forward process.
+ One simply imports the nautilus module and creates a class which is derived from a number
+ of the nautilus module's classes. When an extension derives a class, it becomes a "provider",
+ telling Nautilus to ask it for information. There are several types of providers
+ available for extensions to use: there is MenuProvider, LocationWidgetProvider,
+ ColumnProvider, PropertyPageProvider, and InfoProvider, all of which will be explained
+ in more detail below. Your class can be derived from multiple providers.</p><p>Here are the basic steps:</p><p>1. A script is written and installed to the standard python extensions install path</p><p>2. Nautilus is (re)started and loads the Nautilus-Python C extension, which in turn loads all python extensions</p><p>3. Any python script in the standard python extensions install path that imports the nautilus module and derives
+ the main class from a nautilus module class will be loaded</p><div class="note" title="A note about the standard python extensions install path" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">A note about the standard python extensions install path</h3><p>The install path for individual users is ~/.nautilus/python-extensions. </p><p>The system-wide install path is $PREFIX/lib/nautilus/extensions-2.0/python. However, some 64 bit distributions,
+such as Fedora, put Nautilus-Python extensions in $PREFIX/lib64/nautilus/extensions-2.0/python. </p><p>As of nautilus-python 0.7.0, nautilus-python looks in ~/.local/share/nautilus-python/extensions
+for local extensions and $PREFIX/share/nautilus-python/extensions for global extensions.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="nautilus-python-overview-example.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus-python Reference Manual </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> A Simple Extension</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-provider-reference.html b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-provider-reference.html
new file mode 100644
index 0000000..1a8f30d
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python-provider-reference.html
@@ -0,0 +1 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Provider Interfaces</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="nautilus-python Reference Manual"><link rel="up" href="index.html" title="nautilus-python Reference Manual"><link rel="prev" href="class-nautilus-python-property-page.html" title="nautilus.PropertyPage"><link rel="next" href="class-nautilus-python-column-provider.html" title="nautilus.ColumnProvider"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Provider Interfaces</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-nautilus-python-property-page.html">Prev</a>Â </td><th width="60%" align="center">Â </th><td width="20%" align="right">Â <a a
ccesskey="n" href="class-nautilus-python-column-provider.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Provider Interfaces"><div class="titlepage"><div><div><h2 class="title"><a name="nautilus-python-provider-reference"></a>Provider Interfaces</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="refentrytitle"><a href="class-nautilus-python-column-provider.html">nautilus.ColumnProvider</a></span><span class="refpurpose"> â?? nautilus.ColumnProvider Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-info-provider.html">nautilus.InfoProvider</a></span><span class="refpurpose"> â?? nautilus.InfoProvider Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-location-widget-provider.html">nautilus.LocationWidgetProvider</a></span><span class="refpurpose"> â?? nautilus.LocationWidgetProvider Reference</span></dt><dt><span class="refentrytitle"><a href="class
-nautilus-python-menu-provider.html">nautilus.MenuProvider</a></span><span class="refpurpose"> â?? nautilus.MenuProvider Reference</span></dt><dt><span class="refentrytitle"><a href="class-nautilus-python-property-page-provider.html">nautilus.PropertyPageProvider</a></span><span class="refpurpose"> â?? nautilus.PropertyPageProvider Reference</span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-nautilus-python-property-page.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="class-nautilus-python-column-provider.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">nautilus.PropertyPage </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> nautilus.ColumnProvider</td></tr></table></div></body></html>
diff --git a/projects.gnome.org/nautilus-python/documentation/html/nautilus-python.devhelp b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python.devhelp
new file mode 100644
index 0000000..3697cff
--- /dev/null
+++ b/projects.gnome.org/nautilus-python/documentation/html/nautilus-python.devhelp
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<book xmlns="http://www.devhelp.net/book" title="nautilus-python Reference Manual" link="index.html" author="Adam Plumb" name="nautilus-python" language="python">
+ <chapters>
+ <sub name="Overview" link="nautilus-python-overview.html">
+ <sub name="A Simple Extension" link="nautilus-python-overview-example.html"/>
+ <sub name="Explanation of Passive/Active Methods" link="nautilus-python-overview-methods.html"/>
+ </sub>
+ <sub name="Available Classes" link="nautilus-python-class-reference.html">
+ <sub name="nautilus.Column" link="class-nautilus-python-column.html"/>
+ <sub name="nautilus.FileInfo" link="class-nautilus-python-file-info.html"/>
+ <sub name="nautilus.Menu" link="class-nautilus-python-menu.html"/>
+ <sub name="nautilus.MenuItem" link="class-nautilus-python-menu-item.html"/>
+ <sub name="nautilus.PropertyPage" link="class-nautilus-python-property-page.html"/>
+ </sub>
+ <sub name="Provider Interfaces" link="nautilus-python-provider-reference.html">
+ <sub name="nautilus.ColumnProvider" link="class-nautilus-python-column-provider.html"/>
+ <sub name="nautilus.InfoProvider" link="class-nautilus-python-info-provider.html"/>
+ <sub name="nautilus.LocationWidgetProvider" link="class-nautilus-python-location-widget-provider.html"/>
+ <sub name="nautilus.MenuProvider" link="class-nautilus-python-menu-provider.html"/>
+ <sub name="nautilus.PropertyPageProvider" link="class-nautilus-python-property-page-provider.html"/>
+ </sub>
+ <sub name="Available Enums" link="nautilus-python-enum-reference.html">
+ <sub name="nautilus.OperationResult" link="enum-nautilus-python-operation-result.html"/>
+ </sub>
+ </chapters>
+ <functions>
+ <function name="nautilus.Column" link="class-nautilus-python-column.html#constructor-nautilus-column"/>
+ <function name="nautilus.Menu" link="class-nautilus-python-menu.html#constructor-nautilus-menu"/>
+ <function name="nautilus.MenuItem" link="class-nautilus-python-menu-item.html#constructor-nautilus-menu-item"/>
+ <function name="nautilus.PropertyPage" link="class-nautilus-python-property-page.html#constructor-nautilus-property-page"/>
+ <function name="nautilus.FileInfo.is_gone" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-gone"/>
+ <function name="nautilus.FileInfo.get_file_type" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-file-type"/>
+ <function name="nautilus.FileInfo.get_location" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-location"/>
+ <function name="nautilus.FileInfo.get_name" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-name"/>
+ <function name="nautilus.FileInfo.get_uri" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-uri"/>
+ <function name="nautilus.FileInfo.get_activation_uri" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-activation-uri"/>
+ <function name="nautilus.FileInfo.get_parent_info" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-info"/>
+ <function name="nautilus.FileInfo.get_parent_location" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-location"/>
+ <function name="nautilus.FileInfo.get_parent_uri" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-parent-uri"/>
+ <function name="nautilus.FileInfo.get_mount" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-mount"/>
+ <function name="nautilus.FileInfo.get_uri_scheme" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-uri-scheme"/>
+ <function name="nautilus.FileInfo.get_mime_type" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-mime-type"/>
+ <function name="nautilus.FileInfo.is_mime_type" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-mime-type"/>
+ <function name="nautilus.FileInfo.is_directory" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--is-directory"/>
+ <function name="nautilus.FileInfo.can_write" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--can-write"/>
+ <function name="nautilus.FileInfo.add_emblem" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--add-emblem"/>
+ <function name="nautilus.FileInfo.get_string_attribute" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--get-string-attribute"/>
+ <function name="nautilus.FileInfo.add_string_attribute" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--add-string-attribute"/>
+ <function name="nautilus.FileInfo.invalidate_extension_info" link="class-nautilus-python-file-info.html#method-nautilus-python-file-info--invalidate-extension-info"/>
+ <function name="nautilus.Menu.append_item" link="class-nautilus-python-menu.html#method-nautilus-python-menu--append_item"/>
+ <function name="nautilus.Menu.get_items" link="class-nautilus-python-menu.html#method-nautilus-python-menu--get_items"/>
+ <function name="nautilus.MenuItem.activate" link="class-nautilus-python-menu-item.html#method-nautilus-python-menu-item--activate"/>
+ <function name="nautilus.MenuItem.set_submenu" link="class-nautilus-python-menu-item.html#method-nautilus-python-menu-item--set_submenu"/>
+ <function name="The "activate" nautilus.MenuItem Signal" link="class-nautilus-python-menu-item.html#signal-nautilus-python-menu-item--activate"/>
+ <function name="nautilus.ColumnProvider.get_columns" link="class-nautilus-python-column-provider.html#method-nautilus-column-provider--get-columns"/>
+ <function name="nautilus.InfoProvider.update_file_info" link="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info"/>
+ <function name="nautilus.InfoProvider.update_file_info_full" link="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-file-info-full"/>
+ <function name="nautilus.InfoProvider.cancel_update" link="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--cancel-update"/>
+ <function name="nautilus.InfoProvider.update_complete_invoke" link="class-nautilus-python-info-provider.html#method-nautilus-python-info-provider--update-complete-invoke"/>
+ <function name="nautilus.LocationWidgetProvider.get_widget" link="class-nautilus-python-location-widget-provider.html#method-nautilus-location-widget-provider--get-widget"/>
+ <function name="nautilus.MenuProvider.get_file_items" link="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-file-items"/>
+ <function name="nautilus.MenuProvider.get_file_items_full" link="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-file-items-full"/>
+ <function name="nautilus.MenuProvider.get_background_items" link="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-background-items"/>
+ <function name="nautilus.MenuProvider.get_background_items_full" link="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-background-items-full"/>
+ <function name="nautilus.MenuProvider.get_toolbar_items" link="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-toolbar-items"/>
+ <function name="nautilus.MenuProvider.get_toolbar_items_full" link="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--get-toolbar-items-full"/>
+ <function name="nautilus.MenuProvider.emit_items_updated_signal" link="class-nautilus-python-menu-provider.html#method-nautilus-python-menu-provider--emit-items-updated-signal"/>
+ <function name="The "items-updated" nautilus.MenuProvider Signal" link="class-nautilus-python-menu-provider.html#signal-nautilus-python-menu-provider--items-updated"/>
+ <function name="nautilus.PropertyPageProvider.get_pages" link="class-nautilus-python-property-page-provider.html#method-nautilus-property-page-provider--get-pages"/>
+ </functions>
+</book>
diff --git a/projects.gnome.org/nautilus-python/download.html b/projects.gnome.org/nautilus-python/download.html
index c521bca..9134cdb 100644
--- a/projects.gnome.org/nautilus-python/download.html
+++ b/projects.gnome.org/nautilus-python/download.html
@@ -34,7 +34,7 @@
<h3>Source Code</h3>
<ul>
- <li><a href="http://download.gnome.org/sources/nautilus-python/0.6/nautilus-python-0.6.1.tar.gz">nautilus-python 0.6.1</a> (Released Jan 19, 2010)</li>
+ <li><a href="http://download.gnome.org/sources/nautilus-python/0.7/nautilus-python-0.7.0.tar.gz">nautilus-python 0.7.0</a> (Released Jan 19, 2010)</li>
</ul>
<p>
diff --git a/projects.gnome.org/nautilus-python/index.html b/projects.gnome.org/nautilus-python/index.html
index d32085e..f892375 100644
--- a/projects.gnome.org/nautilus-python/index.html
+++ b/projects.gnome.org/nautilus-python/index.html
@@ -31,8 +31,8 @@
<div id="sidebar">
<h3>Information</h3>
<ul id="link">
- <li><b>Current Version</b>: 0.6.1</li>
- <li><a href="http://download.gnome.org/sources/nautilus-python/0.6/nautilus-python-0.6.1.tar.gz">Download Tarball</a></li>
+ <li><b>Current Version</b>: 0.7.0</li>
+ <li><a href="http://download.gnome.org/sources/nautilus-python/0.7/nautilus-python-0.7.0.tar.gz">Download Tarball</a></li>
<li><a href="http://git.gnome.org/browse/nautilus-python">Browse Source</a></li>
<li><a href="https://bugzilla.gnome.org/browse.cgi?product=nautilus-python">File a bug</a></li>
</ul>
@@ -75,7 +75,7 @@
</p>
<h2>Compile it</h2>
<p>
- The current released version of nautilus-python is <a href="http://download.gnome.org/sources/nautilus-python/0.6">0.6.1</a>, released January 19, 2010.
+ The current released version of nautilus-python is <a href="http://download.gnome.org/sources/nautilus-python/0.7">0.7.0</a>, released May 22, 2010.
</p>
<p>
Download and extract the tarball, enter the program directory, then type:
diff --git a/projects.gnome.org/nautilus-python/news.html b/projects.gnome.org/nautilus-python/news.html
index c24e6f8..80d9c62 100644
--- a/projects.gnome.org/nautilus-python/news.html
+++ b/projects.gnome.org/nautilus-python/news.html
@@ -31,6 +31,63 @@
<div id="body">
<h3>News</h3>
+
+
+
+ <a name="news_0_7_0_release"></a>
+ <b>Nautilus-Python 0.7.0 Release Announcement</b> - May 22, 2010
+ <p>
+<newsblock>
+The new release is available at ftp.gnome.org:
+ <a href="http://ftp.gnome.org/pub/GNOME/sources/nautilus-python/0.7/">http://ftp.gnome.org/pub/GNOME/sources/nautilus-python/0.7/</a>
+
+Overview of changes in 0.7.0:
+ - Added methods:
+ nautilus.InfoProvider.update_file_info_full
+ nautilus.InfoProvider.update_complete_invoke
+ nautilus.InfoProvider.cancel_update
+ nautilus.MenuProvider.get_file_items_full
+ nautilus.MenuProvider.get_background_items_full
+ nautilus.MenuProvider.get_toolbar_items_full
+ nautilus.MenuProvider.emit_items_updated_signal
+ - Added complete gtk-doc documentation: tutorial and reference. Enable
+ by adding the --enable-gtk-doc argument to ./configure or ./autogen.sh
+ - Updated the autogen.sh file so it is not a copied-over obsolete version
+ of gnome-autogen.sh, but a shell that calls the user's installed
+ gnome-autogen.sh.
+ - Removed obsolete .spec file
+ - Removed obsolete examples/documentation.py file
+ - Added an example plugin for the LocationWidgetProvider
+ - Look for python plugins in $XDG_DATA_DIR/nautilus-python/extensions. This
+ includes ~/.local/share and /usr/share (or whatever $XDG_DATA_DIR is set
+ to)
+
+Blurb:
+ Nautilus-python provides python bindings for the Nautilus File Manager's
+ extension framework. Using nautilus-python, developers can easily extend
+ nautilus in python by adding context menu items, additional columns, and
+ property pages, amongst other things.
+
+nautilus-python requires:
+ nautilus >= 2.22.0
+ pygtk >= 2.8.0
+ gnome-python >= 2.12.0
+ pygobject >= 2.16.0
+ python >= 2.3.5
+
+Homepage:
+ <a href="http://projects.gnome.org/nautilus-python">http://projects.gnome.org/nautilus-python</a>
+
+Bug reports should be made in GNOME's bugzilla:
+ <a href="http://bugzilla.gnome.org/enter_bug.cgi?product=nautilus-python">http://bugzilla.gnome.org/enter_bug.cgi?product=nautilus-python</a>
+
+Git Repository:
+ <a href="http://git.gnome.org/browse/nautilus-python/">http://git.gnome.org/browse/nautilus-python/</a>
+
+Adam Plumb
+</newsblock>
+ </p>
+
<a name="news_0_5_2_release"></a>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]