Merge branch 'master' of git://git.assembla.com/free_poker_tools.git

This commit is contained in:
eblade 2009-03-30 14:27:31 -04:00
commit 9dbbd23688

View File

@ -197,12 +197,14 @@ class Hud:
s.window.destroy()
self.stat_windows = {}
# also kill any aux windows
(aux.destroy() for aux in self.aux_windows)
for aux in self.aux_windows:
aux.destroy()
self.aux_windows = []
def reposition_windows(self, *args):
if self.stat_windows != {} and len(self.stat_windows) > 0:
(x.window.move(x.x, x.y) for x in self.stat_windows.itervalues() if type(x) != int)
for w in self.stat_windows.itervalues():
if type(w) == int: continue
w.window.move(w.x, w.y)
return True
def debug_stat_windows(self, *args):