call gtk.gdk.threads_init() to initialise threads used when en/decrypting GPG. Fixes #4959

This commit is contained in:
Yann Leboulanger 2009-04-25 22:10:03 +00:00
parent e412cd1dfb
commit 5419b2cb36
1 changed files with 14 additions and 13 deletions

View File

@ -3536,6 +3536,7 @@ if __name__ == '__main__':
Interface()
try:
gtk.gdk.threads_init()
gtk.main()
except KeyboardInterrupt:
print >> sys.stderr, 'KeyboardInterrupt'