8c4b7f6
diff -up gedit-2.25.5/plugin-loaders/python/gedit-plugin-loader-python.c.fix-python-path gedit-2.25.5/plugin-loaders/python/gedit-plugin-loader-python.c
e10eb48
--- gedit-2.25.5/plugin-loaders/python/gedit-plugin-loader-python.c.fix-python-path	2009-01-12 11:23:48.000000000 -0500
e10eb48
+++ gedit-2.25.5/plugin-loaders/python/gedit-plugin-loader-python.c	2009-01-26 15:35:30.672713673 -0500
e10eb48
@@ -488,7 +488,7 @@ gedit_python_init (GeditPluginLoaderPyth
e10eb48
 	PyObject *gettext, *install, *gettext_args;
e10eb48
 	struct sigaction old_sigint;
e10eb48
 	gint res;
e10eb48
-	char *argv[] = { "gedit", NULL };
e10eb48
+	char *argv[] = { GEDIT_PLUGINS_LIBS_DIR, NULL };
8c4b7f6
 
e10eb48
 	if (loader->priv->init_failed)
8c4b7f6
 	{
e10eb48
diff -up gedit-2.25.5/plugin-loaders/python/Makefile.am.fix-python-path gedit-2.25.5/plugin-loaders/python/Makefile.am
e10eb48
--- gedit-2.25.5/plugin-loaders/python/Makefile.am.fix-python-path	2009-01-26 15:51:12.102965135 -0500
e10eb48
+++ gedit-2.25.5/plugin-loaders/python/Makefile.am	2009-01-26 15:35:49.978712718 -0500
e10eb48
@@ -13,6 +13,7 @@ INCLUDES = \
e10eb48
 	$(DISABLE_DEPRECATED_CFLAGS)					\
e10eb48
 	$(PYGTK_CFLAGS)							\
e10eb48
 	$(PYTHON_CFLAGS)						\
e10eb48
+	-DGEDIT_PLUGINS_LIBS_DIR=\"$(GEDIT_PLUGINS_LIBS_DIR)\"		\
e10eb48
 	-DGEDIT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
e10eb48
 
e10eb48
 loader_LTLIBRARIES = libpythonloader.la