From eff5c9cc6e1f18c451981f6e8f6a3bf5805e5f82 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Tue, 19 Aug 2008 00:18:17 +0100 Subject: [PATCH] p59 - hud update from ray --- pyfpdb/HUD_config.xml.example | 57 ++--------------------------------- pyfpdb/HUD_main.py | 5 +++ 2 files changed, 7 insertions(+), 55 deletions(-) diff --git a/pyfpdb/HUD_config.xml.example b/pyfpdb/HUD_config.xml.example index 7d76688f..ca650270 100644 --- a/pyfpdb/HUD_config.xml.example +++ b/pyfpdb/HUD_config.xml.example @@ -2,7 +2,7 @@ - + @@ -45,51 +45,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -100,17 +55,9 @@ - - - - - - - - - + diff --git a/pyfpdb/HUD_main.py b/pyfpdb/HUD_main.py index 1f71625b..99ad9f5c 100755 --- a/pyfpdb/HUD_main.py +++ b/pyfpdb/HUD_main.py @@ -79,6 +79,11 @@ def process_new_hand(source, condition): return(1) if __name__== "__main__": + + if not os.name == 'posix': + print "This version of the HUD only works with Linux or compatible.\nHUD exiting." + sys.exit() + main_window = gtk.Window() main_window.connect("destroy", destroy) label = gtk.Label('Fake main window, blah blah, blah\nblah, blah')