[PATCH 06/12] Also add an exitWindow, since meh expects that from an interface.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux