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