* src/QuestionDialog.py: close window before calling callback

if the view is not in focus. Fix delete display by calling build_tree


svn: r7944
This commit is contained in:
Don Allingham
2007-01-21 00:16:08 +00:00
parent 81abc62ace
commit a41031ddef
3 changed files with 16 additions and 32 deletions

@ -99,9 +99,9 @@ class QuestionDialog:
if parent:
self.top.set_transient_for(parent)
response = self.top.run()
self.top.destroy()
if response == gtk.RESPONSE_ACCEPT:
task()
self.top.destroy()
class QuestionDialog2:
def __init__(self,msg1,msg2,label_msg1,label_msg2,parent=None):