Author: asterix
Date: 2009-05-10 22:02:46 +0200 (Sun, 10 May 2009)
New Revision: 11280
Modified:
trunk/src/gajim.py
Log:
don't call gtk.gdk/threads_init() under windows. Fixes #5020
Modified: trunk/src/gajim.py
===================================================================
--- trunk/src/gajim.py 2009-05-10 19:37:39 UTC (rev 11279)
+++ trunk/src/gajim.py 2009-05-10 20:02:46 UTC (rev 11280)
@@ -3529,7 +3529,10 @@
Interface()
try:
- gtk.gdk.threads_init()
+ if os.name != 'nt':
+ # This makes Gajim unusable under windows, and threads
are used only
+ # for GPG, so not under windows
+ gtk.gdk.threads_init()
gtk.main()
except KeyboardInterrupt:
print >> sys.stderr, 'KeyboardInterrupt'
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits