Package: pygtk / 2.24.0-5.1

01_pygtk-demo.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: pygtk-2.13.0/examples/pygtk-demo/pygtk-demo.in
===================================================================
--- pygtk-2.13.0.orig/examples/pygtk-demo/pygtk-demo.in	2008-04-27 11:51:14.000000000 +0200
+++ pygtk-2.13.0/examples/pygtk-demo/pygtk-demo.in	2008-11-12 17:59:10.695490976 +0100
@@ -1,7 +1,7 @@
-#! @PYTHON@
+#! /usr/bin/python
 
 import sys
 import os.path
-pygtklibdir = os.path.join("@libdir@", "pygtk", "2.0")
+pygtklibdir = os.path.join("/usr/share", "pygtk", "2.0")
 sys.path.insert(0, pygtklibdir)
 execfile(os.path.join(pygtklibdir, "pygtk-demo.py"))