From 3f2e1dc0ee04152e3b3a963dbf6043567fab9648 Mon Sep 17 00:00:00 2001 From: Eratosthenes Date: Tue, 30 Nov 2010 01:26:41 -0500 Subject: [PATCH] Fixed intermittent hanging in foreign_new method. --- pyfpdb/HUD_main.pyw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 pyfpdb/HUD_main.pyw diff --git a/pyfpdb/HUD_main.pyw b/pyfpdb/HUD_main.pyw old mode 100644 new mode 100755 index cd46f596..f7403d54 --- a/pyfpdb/HUD_main.pyw +++ b/pyfpdb/HUD_main.pyw @@ -180,11 +180,11 @@ class HUD_main(object): gtk.gdk.threads_enter() try: + table.gdkhandle = gtk.gdk.window_foreign_new(table.number) newlabel = gtk.Label("%s - %s" % (table.site, table_name)) self.vb.add(newlabel) newlabel.show() self.main_window.resize_children() - table.gdkhandle = gtk.gdk.window_foreign_new(table.number) self.hud_dict[table.key].tablehudlabel = newlabel self.hud_dict[table.key].create(new_hand_id, self.config, stat_dict, cards)