From 7516d17a40999fdd0638221f8b9998c3ddc96b4d Mon Sep 17 00:00:00 2001 From: eblade Date: Tue, 9 Dec 2008 08:21:50 -0500 Subject: [PATCH] add 0.5 sec auto-timer to auto-run update_table_position --- pyfpdb/Hud.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index 03ba1696..a98c1421 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -224,6 +224,8 @@ class Hud: if not game_params['aux'] == "": aux_params = config.get_aux_parameters(game_params['aux']) self.aux_windows.append(eval("%s.%s(gtk.Window(), config, 'fpdb')" % (aux_params['module'], aux_params['class']))) + + gobject.timeout_add(0.5, update_table_position) def update(self, hand, config, stat_dict): self.hand = hand # this is the last hand, so it is available later