mirror of
https://github.com/gryf/pygtktalog.git
synced 2026-02-15 13:35:54 +01:00
Bugfix for quit dialog
This commit is contained in:
@@ -44,10 +44,7 @@ class Qst(object):
|
|||||||
self.dialog.format_secondary_text(secondarymsg)
|
self.dialog.format_secondary_text(secondarymsg)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
retval = self.dialog.run()
|
retval = self.dialog.run() == gtk.RESPONSE_OK
|
||||||
retval = False
|
|
||||||
if retval == gtk.RESPONSE_OK:
|
|
||||||
retval = True
|
|
||||||
self.dialog.destroy()
|
self.dialog.destroy()
|
||||||
return retval
|
return retval
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user