Commit a43da049 authored by sumpfralle's avatar sumpfralle

fixed log error dialog cleanup


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1253 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 23b5d06d
......@@ -197,8 +197,8 @@ class GTKHandler(logging.Handler):
if ord(char) < 128])
window.set_title(message_title)
# make sure that the window gets destroyed later
def close_window(*args):
window.destroy()
def close_window(dialog, *args):
dialog.destroy()
for signal in ("close", "response"):
window.connect(signal, close_window)
# accept "destroy" action -> remove window
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment