don't bother doing show_all on each stat_window, then hide, just hide first. (probably shouldn't need to even hide them first, but they seem to sometimes start hidden sometimes not)

This commit is contained in:
eblade 2008-11-27 02:31:52 -05:00
parent 49390940e3
commit 6e116f4b02

View File

@ -375,9 +375,9 @@ class Stat_Window:
# if not os.name == 'nt': # seems to be a bug in opacity on windows # if not os.name == 'nt': # seems to be a bug in opacity on windows
self.window.set_opacity(parent.colors['hudopacity']) self.window.set_opacity(parent.colors['hudopacity'])
self.window.realize self.window.realize()
self.window.move(self.x, self.y) self.window.move(self.x, self.y)
self.window.show_all() # self.window.show_all()
# set_keep_above(1) for windows # set_keep_above(1) for windows
if os.name == 'nt': self.topify_window(self.window) if os.name == 'nt': self.topify_window(self.window)
self.window.hide() self.window.hide()