* src/DbPrompter.py (ExistingDbPrompter.chooser,
ImportDbPrompter.chooser): Destroy file chooser on failure (#1014254). svn: r3497
This commit is contained in:
parent
73d8bdafdc
commit
ce2b902131
@ -41,6 +41,9 @@
|
|||||||
* src/ArgHandler.py (auto_save_load): Subclass database depending
|
* src/ArgHandler.py (auto_save_load): Subclass database depending
|
||||||
on the format.
|
on the format.
|
||||||
|
|
||||||
|
* src/DbPrompter.py (ExistingDbPrompter.chooser,
|
||||||
|
ImportDbPrompter.chooser): Destroy file chooser on failure (#1014254).
|
||||||
|
|
||||||
2004-08-23 Tim Waugh <twaugh@redhat.com>
|
2004-08-23 Tim Waugh <twaugh@redhat.com>
|
||||||
* install-sh: Removed this generated file.
|
* install-sh: Removed this generated file.
|
||||||
|
|
||||||
|
@ -213,9 +213,6 @@ class ExistingDbPrompter:
|
|||||||
return 0
|
return 0
|
||||||
QuestionDialog.ErrorDialog( _("Could not open file: %s") % filename,
|
QuestionDialog.ErrorDialog( _("Could not open file: %s") % filename,
|
||||||
_('The type "%s" is not in the list of known file types') % filetype )
|
_('The type "%s" is not in the list of known file types') % filetype )
|
||||||
return 0
|
|
||||||
|
|
||||||
else:
|
|
||||||
choose.destroy()
|
choose.destroy()
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
@ -301,9 +298,6 @@ class ImportDbPrompter:
|
|||||||
return 1
|
return 1
|
||||||
QuestionDialog.ErrorDialog( _("Could not open file: %s") % filename,
|
QuestionDialog.ErrorDialog( _("Could not open file: %s") % filename,
|
||||||
_('The type "%s" is not in the list of known file types') % filetype )
|
_('The type "%s" is not in the list of known file types') % filetype )
|
||||||
return 0
|
|
||||||
|
|
||||||
else:
|
|
||||||
choose.destroy()
|
choose.destroy()
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user