Blob Blame History Raw
diff -urp gedit-2.29.3.orig/plugin-loaders/python/gedit-plugin-loader-python.c gedit-2.29.3/plugin-loaders/python/gedit-plugin-loader-python.c
--- gedit-2.29.3.orig/plugin-loaders/python/gedit-plugin-loader-python.c	2009-11-28 13:47:48.000000000 -0500
+++ gedit-2.29.3/plugin-loaders/python/gedit-plugin-loader-python.c	2009-12-01 11:33:02.635871946 -0500
@@ -486,7 +486,7 @@ gedit_python_init (GeditPluginLoaderPyth
 	PyObject *mdict, *tuple;
 	PyObject *gedit, *geditutils, *geditcommands, *geditplugins;
 	PyObject *gettext, *install, *gettext_args;
-	char *argv[] = { "gedit", NULL };
+	char *argv[] = { GEDIT_PLUGINS_LIBS_DIR, NULL };
 #ifdef HAVE_SIGACTION
 	gint res;
 	struct sigaction old_sigint;
diff -urp gedit-2.29.3.orig/plugin-loaders/python/Makefile.am gedit-2.29.3/plugin-loaders/python/Makefile.am
--- gedit-2.29.3.orig/plugin-loaders/python/Makefile.am	2009-09-20 13:43:50.000000000 -0400
+++ gedit-2.29.3/plugin-loaders/python/Makefile.am	2009-12-01 11:33:44.012872511 -0500
@@ -13,6 +13,7 @@ INCLUDES = \
 	$(DISABLE_DEPRECATED_CFLAGS)					\
 	$(PYGTK_CFLAGS)							\
 	$(PYTHON_CFLAGS)						\
+	-DGEDIT_PLUGINS_LIBS_DIR=\"$(GEDIT_PLUGINS_LIBS_DIR)\"		\
 	-DGEDIT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
 
 loader_LTLIBRARIES = libpythonloader.la