[POS-commit] Kiwi/extra getwidgets.py,1.1,1.2

Christian Reis kiko at async.com.br
Wed Oct 1 20:51:14 BRST 2003


Update of /cvs/Kiwi/extra
In directory anthem:/tmp/cvs-serv17259

Modified Files:
	getwidgets.py 
Log Message:
Provide pygtk.require()


Index: getwidgets.py
===================================================================
RCS file: /cvs/Kiwi/extra/getwidgets.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- getwidgets.py	7 Mar 2003 14:43:14 -0000	1.1
+++ getwidgets.py	1 Oct 2003 20:51:12 -0000	1.2
@@ -8,6 +8,11 @@
 
 import sys, re, string, os
 
+try:
+    import pygtk
+    pygtk.require("1.2")
+except ImportError:
+    pass
 import libglade, gtk
 
 # Names we skip from the gladefile



More information about the POS-commit mailing list