diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2008-10-21 01:38:06 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2008-10-21 01:38:06 +0400 |
commit | 06ab4a7b6dd3d2f9db0d5df1f1cfe0dd635d96bc (patch) | |
tree | 04072fc88ede31308beb5e63f2afaeff9a787414 /src/gtkexcepthook.py | |
parent | f801a50260a7f7748952b6c88f065575bcac547c (diff) |
revert thorstenp patches for now. They introduce bugs.
Diffstat (limited to 'src/gtkexcepthook.py')
-rw-r--r-- | src/gtkexcepthook.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtkexcepthook.py b/src/gtkexcepthook.py index 39ea2560f..114cfaf9e 100644 --- a/src/gtkexcepthook.py +++ b/src/gtkexcepthook.py @@ -82,6 +82,7 @@ def _info(type_, value, tb): # on expand the details the dialog remains centered on screen dialog.set_position(gtk.WIN_POS_CENTER_ALWAYS) + close_clicked = False def on_dialog_response(dialog, response): if response == RESPONSE_REPORT_BUG: url = 'http://trac.gajim.org/wiki/HowToCreateATicket' @@ -103,6 +104,6 @@ if os.name == 'nt' or not sys.stderr.isatty(): if __name__ == '__main__': _excepthook_save = sys.excepthook sys.excepthook = _info - raise Exception() + print x # this always tracebacks # vim: se ts=3: |