Fix numerous typos/bugs in previous commit.

This commit is contained in:
Ray
2009-03-25 16:46:06 -04:00
parent 9146758c5e
commit 01bc1cebf1
2 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -178,7 +178,8 @@ class Hud:
if not type(w) == int: # how do we get pure ints in this list??
(x, y) = loc[adj[i]]
w.relocate(x, y)
[aw.relocate(self.table.x, self.table.y) for aw in self.aux_windows]
return True
def on_button_press(self, widget, event):
@@ -204,7 +205,6 @@ class Hud:
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)
[aw.relocate(self.hud.x, self.hud.y) for aw in self.aux_windows]
return True
def debug_stat_windows(self, *args):