Handle image imports that are abandoned

svn: r1506
This commit is contained in:
Don Allingham
2003-05-08 17:12:10 +00:00
parent 9723ef407c
commit a6338d63b3
3 changed files with 66 additions and 42 deletions

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000 Donald N. Allingham
# Copyright (C) 2000, 2003 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -147,7 +147,7 @@ class ImageSelect:
if os.path.exists(filename) == 0:
msgstr = _("Cannot import %s")
msgstr2 = _("The filename supplied could not be found.")
ErrorDialog(msgstr,msgstr2)
ErrorDialog(msgstr % filename, msgstr2)
return
already_imported = None
@ -958,4 +958,3 @@ class DeleteMediaQuery:
if self.update:
self.update(0)