[oe-commits] org.oe.dev add prevent_to_get_display_during_import.patch (by Aloisio Almeida)

mickeyl commit oe at amethyst.openembedded.net
Fri Mar 21 17:05:23 UTC 2008


add prevent_to_get_display_during_import.patch (by Aloisio Almeida)

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 903edcf621d6b2974f60aceef8e79c2816561136
ViewMTN: http://monotone.openembedded.org/revision/info/903edcf621d6b2974f60aceef8e79c2816561136
Files:
1
packages/python/python-pygtk/prevent_to_get_display_during_import.patch
Diffs:

#
# mt diff -ra4e2e600a116f8374563b129b7ead82864f9ffc2 -r903edcf621d6b2974f60aceef8e79c2816561136
#
#
#
# add_file "packages/python/python-pygtk/prevent_to_get_display_during_import.patch"
#  content [f9fd2d212befeeeec03b1fa306b56cc23f02f0f3]
#
============================================================
--- packages/python/python-pygtk/prevent_to_get_display_during_import.patch	f9fd2d212befeeeec03b1fa306b56cc23f02f0f3
+++ packages/python/python-pygtk/prevent_to_get_display_during_import.patch	f9fd2d212befeeeec03b1fa306b56cc23f02f0f3
@@ -0,0 +1,14 @@
+Index: pygtk-2.10.4/gtk/__init__.py
+===================================================================
+--- pygtk-2.10.4.orig/gtk/__init__.py	2007-11-27 19:27:05.000000000 -0300
++++ pygtk-2.10.4/gtk/__init__.py	2007-11-27 19:28:22.000000000 -0300
+@@ -78,7 +78,8 @@
+ 
+ keysyms = LazyModule('keysyms', locals())
+ 
+-_init()
++if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'):
++    init()
+ 
+ # CAPI
+ _PyGtk_API = _gtk._PyGtk_API






More information about the Openembedded-commits mailing list