# HG changeset patch # User prock@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1277409539 0 # Node ID e34b44afd4281e3ecc53c941f13214d055f20370 # Parent 85e8986e7b8f8066fc2e7eba94efc44d0631ba04 Fixed the built in pychan dialogs as they didin't work at all. Updated the editor to support modal execution and now use the pychan dialog message boxes for displaying some error messages. diff -r 85e8986e7b8f -r e34b44afd428 engine/python/fife/extensions/pychan/dialogs.py --- a/engine/python/fife/extensions/pychan/dialogs.py Thu Jun 24 18:40:30 2010 +0000 +++ b/engine/python/fife/extensions/pychan/dialogs.py Thu Jun 24 19:58:59 2010 +0000 @@ -42,7 +42,7 @@ self.data= data self.max_size=None self.min_size=None - self.gui.capture(print_event,"mouseEntered") +# self.gui.capture(print_event,"mouseEntered") def execute(self): self.gui.distributeInitialData(self.initial_data) @@ -87,7 +87,7 @@ MESSAGE_BOX_XML = """\ -