Commit 52e183ea authored by German Poo-Caaman~o's avatar German Poo-Caaman~o Committed by Germán Poó Caamaño

config.h.in configure.in examples/README.in nautilus-python.pc.in

2008-06-09  German Poo-Caaman~o  <gpoo@gnome.org>

    * config.h.in
    * configure.in
    * examples/README.in
    * nautilus-python.pc.in
    * nautilus-python.spec.in
    * src/nautilus-python.c:
    Fixed hardcoded path for Nautilus extension. 
    Fixed #527604 (Kjell Braden).


svn path=/trunk/; revision=57
parent 244d3faa
2008-06-09 German Poo-Caaman~o <gpoo@gnome.org>
* config.h.in
* configure.in
* examples/README.in
* nautilus-python.pc.in
* nautilus-python.spec.in
* src/nautilus-python.c:
Fixed hardcoded path for Nautilus extension.
Fixed #527604 (Kjell Braden).
2008-05-31 German Poo-Caaman~o <gpoo@gnome.org>
* src/nautilus.defs: Sync the binding with libnautilus-extension.
......
......@@ -60,6 +60,7 @@ dnl Get nautilus extensions directory
dnl ---------------------------------
NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension`
AC_SUBST(NAUTILUS_EXTENSION_DIR)
AC_DEFINE_UNQUOTED(NAUTILUS_EXTENSION_DIR, "$NAUTILUS_EXTENSION_DIR", [Nautilus' extensions directory])
AC_OUTPUT([
Makefile
......
To try any of the examples, copy them over to:
@NAUTILUS_LIBDIR@/nautilus/extensions-1.0/python/
@NAUTILUS_EXTENSION_DIR@/python/
or:
~/.nautilus/python-extensions/
......
......@@ -4,4 +4,4 @@ Version: @VERSION@
prefix=@prefix@
libdir=${prefix}/lib
pythondir=@NAUTILUS_LIBDIR@/nautilus/extensions-1.0/python
pythondir=@NAUTILUS_EXTENSION_DIR@/python
......@@ -45,7 +45,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog NEWS
%{_libdir}/nautilus-python
%{_libdir}/nautilus/extensions-1.0
@NAUTILUS_EXTENSION_DIR@
%{_libdir}/pkgconfig/nautilus-python.pc
%changelog
......
......@@ -332,7 +332,7 @@ nautilus_module_initialize(GTypeModule *module)
all_types = g_array_new(FALSE, FALSE, sizeof(GType));
nautilus_python_load_dir(module, NAUTILUS_LIBDIR "/nautilus/extensions-1.0/python");
nautilus_python_load_dir(module, NAUTILUS_EXTENSION_DIR "/python");
user_extensions_dir = g_strdup_printf("%s/.nautilus/python-extensions/",
g_get_home_dir());
nautilus_python_load_dir(module, user_extensions_dir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment