From ceef3f7372e1df8302f802a8260e0aacc61f5dd2 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 11 Oct 2003 14:22:17 +0000 Subject: [PATCH] * src/docgen/HTMLDoc.py: removed references to gnome.ui.WarningDialog svn: r2229 --- src/docgen/HtmlDoc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/docgen/HtmlDoc.py b/src/docgen/HtmlDoc.py index 9deef570d..d19365297 100644 --- a/src/docgen/HtmlDoc.py +++ b/src/docgen/HtmlDoc.py @@ -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: