From 659faa125e56cbf14b2a8b812478465e59433be0 Mon Sep 17 00:00:00 2001 From: Eratosthenes Date: Wed, 2 Mar 2011 21:56:30 -0500 Subject: [PATCH] Disable resizing support for windows. Fix and enable later. --- pyfpdb/HUD_main.pyw | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyfpdb/HUD_main.pyw b/pyfpdb/HUD_main.pyw index e4d86670..9a4d6e4f 100755 --- a/pyfpdb/HUD_main.pyw +++ b/pyfpdb/HUD_main.pyw @@ -52,6 +52,7 @@ if sys.platform == 'linux2': elif sys.platform == 'darwin': import OSXTables as Tables else: # This is bad--figure out the values for the various windows flavors + is_windows = True import WinTables as Tables # get config and set up logger @@ -126,7 +127,9 @@ class HUD_main(object): hud.up_update_table_position() def client_resized(self, widget, hud): - gobject.idle_add(idle_resize, hud) +# Don't forget to get rid of this. + if not is_windows: + gigobject.idle_add(idle_resize, hud) def client_destroyed(self, widget, hud): # call back for terminating the main eventloop self.kill_hud(None, hud.table.key)