summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-07-15 14:55:28 -0400
committerChris Lumens <clumens@redhat.com>2009-07-29 15:25:23 -0400
commit86a8d4ce4fa20e43afcc3127efc7c7d89541c973 (patch)
tree6741fd28bc35f06c9476e8518fb2f35100b78ee5 /gui.py
parent0b57ab52946cbbd733f57fde193884dcea6540a1 (diff)
downloadanaconda-86a8d4ce4fa20e43afcc3127efc7c7d89541c973.tar.gz
anaconda-86a8d4ce4fa20e43afcc3127efc7c7d89541c973.tar.xz
anaconda-86a8d4ce4fa20e43afcc3127efc7c7d89541c973.zip
Also add an exitWindow, since meh expects that from an interface.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 0e4a45550..a4bd75c65 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()