do not close dialog when report is clicked

This commit is contained in:
Nikos Kouremenos 2005-09-13 11:17:20 +00:00
parent b662ae401f
commit 017100f36e
1 changed files with 10 additions and 7 deletions

View File

@ -80,13 +80,16 @@ def _info(type, value, tb):
dialog.set_position(gtk.WIN_POS_CENTER)
dialog.show_all()
resp = dialog.run()
close_clicked = False
while not close_clicked:
resp = dialog.run()
if resp == RESPONSE_REPORT_BUG:
url = 'http://trac.gajim.org/wiki/WikiStart#howto_report_ticket'
helpers.launch_browser_mailer('url', url)
#FIXME: it always get destroyed! why??
else:
close_clicked = True
dialog.destroy()
_exception_in_progress.release()