[nautilus-python] Updated information about how/where python plugins are loaded from



commit 0045fe16e6a542c069d0d3b9f842423cf8de73f3
Author: Adam Plumb <adamplumb gmail com>
Date:   Fri May 21 12:42:25 2010 -0400

    Updated information about how/where python plugins are loaded from

 README                                      |    6 +++++-
 docs/reference/nautilus-python-overview.xml |    2 +-
 examples/README                             |    4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/README b/README
index d5ed7fc..38e4c01 100644
--- a/README
+++ b/README
@@ -6,7 +6,11 @@ introduced in Gnome 2.6.
 
 For examples and documentation check the examples sub directory.
 
-Note that scripts are loaded from $prefix/lib/nautilus/extensions-2.0/python
+Note that scripts are loaded from $prefix/lib/nautilus/extensions-2.0/python.
+
+As of nautilus-python 0.7.0, scripts are also loaded from $XDG_DATA_DIR/nautilus-python/extensions,
+which includes ~/.local/share and /usr/share (or whatever your $XDG_DATA_DIR is 
+set to).
 
 Try to copy test.py to that directory for an example
 
diff --git a/docs/reference/nautilus-python-overview.xml b/docs/reference/nautilus-python-overview.xml
index 746ef28..40a2978 100644
--- a/docs/reference/nautilus-python-overview.xml
+++ b/docs/reference/nautilus-python-overview.xml
@@ -27,7 +27,7 @@
 <para>The install path for individual users is ~/.nautilus/python-extensions. </para>
 <para>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. </para>
-<para>As of Nautilus 2.32 (due out Fall 2010), nautilus-python will look in ~/.local/share/nautilus-python/extensions 
+<para>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.</para>
     </note>
 
diff --git a/examples/README b/examples/README
index dbce338..60d0de1 100644
--- a/examples/README
+++ b/examples/README
@@ -1,9 +1,11 @@
 To try any of the examples, copy them over to:
 
-    NAUTILUS_PREFIX/share/nautilus-python/extensions/
+    $XDG_DATA_DIR/share/nautilus-python/extensions/
 or:
     ~/.local/share/nautilus-python/extensions/
 
+FYI, it is still possible to load plugins from the old locations.
+
 Then restart nautilus.
 
 Hint: if you're testing an extension that you're developing, it may



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