--- gui.py | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/gui.py b/gui.py index 0e4a455..a4bd75c 100755 --- a/gui.py +++ b/gui.py @@ -1085,6 +1085,17 @@ class InstallInterface: addFrame(win.dialog) return win + def exitWindow(self, title, text): + if self.icw: + parent = self.icw.window + else: + parent = None + + rc = MessageWindow (title, text, type="custom", + custom_icon="info", parent=parent, + custom_buttons=[_("_Exit installer")]).getrc() + return rc + def getInstallKey(self, anaconda, key = ""): d = InstallKeyWindow(anaconda, key) rc = d.run() -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list