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