do not close dialog when report is clicked
This commit is contained in:
parent
b662ae401f
commit
017100f36e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue