* src/docgen/HTMLDoc.py: removed references to

gnome.ui.WarningDialog


svn: r2229
This commit is contained in:
Don Allingham 2003-10-11 14:22:17 +00:00
parent 6d1bb1b8f1
commit 47474665e0

View File

@ -30,6 +30,7 @@ import TarFile
import const
import Errors
import BaseDoc
import QuestionDialog
from gettext import gettext as _
@ -190,14 +191,13 @@ class HtmlDoc(BaseDoc.BaseDoc):
except IOError,msg:
mymsg = _("Could not open %s\nUsing the default template") % \
self.template
mymsg = "%s\n%s" % (mymsg,msg)
gnome.ui.GnomeWarningDialog(mymsg)
QuestionDialog.WarningDialog(mymsg,msg)
self.bottom = _bottom
self.top = _top
except:
mymsg = _("Could not open %s\nUsing the default template") % \
self.template
gnome.ui.GnomeWarningDialog(mymsg)
QuestionDialog.WarningDialog(mymsg)
self.bottom = _bottom
self.top = _top
else: