From 6e116f4b02bc711c8d95980dc9591d85cf88ff59 Mon Sep 17 00:00:00 2001 From: eblade Date: Thu, 27 Nov 2008 02:31:52 -0500 Subject: [PATCH] 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) --- pyfpdb/Hud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index 4ed1060c..cf9ab622 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -375,9 +375,9 @@ class Stat_Window: # if not os.name == 'nt': # seems to be a bug in opacity on windows self.window.set_opacity(parent.colors['hudopacity']) - self.window.realize + self.window.realize() self.window.move(self.x, self.y) - self.window.show_all() +# self.window.show_all() # set_keep_above(1) for windows if os.name == 'nt': self.topify_window(self.window) self.window.hide()