summaryrefslogtreecommitdiff
blob: 6dc03a921698f9d483c84c9a9437783ad9421bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# https://bugzilla.gnome.org/show_bug.cgi?id=569214
# https://bugzilla.redhat.com/show_bug.cgi?id=481556
# https://bugs.gentoo.org/show_bug.cgi?id=257004
--- a/gedit/gedit-python-module.c	2009-03-16 22:18:36.000000000 +0100
+++ b/gedit/gedit-python-module.c	2009-03-16 22:18:48.000000000 +0100
@@ -398,7 +398,7 @@
 	PyObject *gettext, *install, *gettext_args;
 	struct sigaction old_sigint;
 	gint res;
-	char *argv[] = { "gedit", NULL };
+	char *argv[] = { GEDIT_PLUGINS_LIBS_DIR, NULL };
 	
 	static gboolean init_failed = FALSE;
 
--- a/gedit/Makefile.am	2009-03-16 22:18:55.000000000 +0100
+++ b/gedit/Makefile.am	2009-03-16 22:19:29.000000000 +0100
@@ -24,6 +24,7 @@
 	$(NO_STRICT_ALIASING_CFLAGS)	\
 	$(PYGTK_CFLAGS)			\
 	$(PYTHON_CFLAGS)		\
+	-DGEDIT_PLUGINS_LIBS_DIR=\"$(libdir)/gedit-2/plugins\"          \
 	$(AM_CFLAGS)
 endif