Fixed intermittent hanging in foreign_new method.
This commit is contained in:
parent
e30989a852
commit
3f2e1dc0ee
2
pyfpdb/HUD_main.pyw
Normal file → Executable file
2
pyfpdb/HUD_main.pyw
Normal file → Executable file
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user