do not close dialog when report is clicked
This commit is contained in:
parent
b662ae401f
commit
017100f36e
|
@ -80,14 +80,17 @@ def _info(type, value, tb):
|
||||||
dialog.set_position(gtk.WIN_POS_CENTER)
|
dialog.set_position(gtk.WIN_POS_CENTER)
|
||||||
|
|
||||||
dialog.show_all()
|
dialog.show_all()
|
||||||
resp = dialog.run()
|
|
||||||
|
|
||||||
if resp == RESPONSE_REPORT_BUG:
|
close_clicked = False
|
||||||
url = 'http://trac.gajim.org/wiki/WikiStart#howto_report_ticket'
|
while not close_clicked:
|
||||||
helpers.launch_browser_mailer('url', url)
|
resp = dialog.run()
|
||||||
#FIXME: it always get destroyed! why??
|
if resp == RESPONSE_REPORT_BUG:
|
||||||
else:
|
url = 'http://trac.gajim.org/wiki/WikiStart#howto_report_ticket'
|
||||||
dialog.destroy()
|
helpers.launch_browser_mailer('url', url)
|
||||||
|
else:
|
||||||
|
close_clicked = True
|
||||||
|
|
||||||
|
dialog.destroy()
|
||||||
|
|
||||||
_exception_in_progress.release()
|
_exception_in_progress.release()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue