[PATCH] Add more windows to the rescue interface class (#498014).

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

 



---
 rescue.py |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/rescue.py b/rescue.py
index 707f3be..533dde1 100644
--- a/rescue.py
+++ b/rescue.py
@@ -48,6 +48,12 @@ class RescueInterface:
     def progressWindow(self, title, text, total):
         return ProgressWindow(self.screen, title, text, total)
 
+    def detailedMessageWindow(self, title, text, longText=None, type="ok",
+                              default=None, custom_icon=None,
+                              custom_buttons=[]):
+        return self.messageWindow(title, text, type, default, custom_icon,
+                                  custom_buttons)
+
     def messageWindow(self, title, text, type = "ok", default = None,
                       custom_icon=None, custom_buttons=[]):
 	if type == "ok":
@@ -95,6 +101,15 @@ class RescueInterface:
         w.pop()
         return (passphrase, isglobal)
 
+    def shutdown (self):
+        pass
+
+    def suspend(self):
+        pass
+
+    def resume(self):
+        pass
+
     def __init__(self, screen):
         self.screen = screen
 
-- 
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