[PATCH f16-branch] Add a Reboot button to the congrats screen on live (#705189).

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

 



There's no easily discoverable reboot button on the system anymore, so it's up
to us to save everyone.
---
 anaconda                      |    2 +-
 pyanaconda/iw/congrats_gui.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/anaconda b/anaconda
index c733be5..c891bc6 100755
--- a/anaconda
+++ b/anaconda
@@ -780,7 +780,7 @@ if __name__ == "__main__":
             os.system("systemctl --force --no-wall halt")
         else: # reboot action is KS_REBOOT or None
             os.system("systemctl --force --no-wall reboot")
-    elif not flags.livecdInstall and not flags.imageInstall:
+    elif not flags.imageInstall:
         os.system("systemctl --force --no-wall reboot")
 
 # vim:tw=78:ts=4:et:sw=4
diff --git a/pyanaconda/iw/congrats_gui.py b/pyanaconda/iw/congrats_gui.py
index e5a3af3..55db9d5 100644
--- a/pyanaconda/iw/congrats_gui.py
+++ b/pyanaconda/iw/congrats_gui.py
@@ -46,7 +46,7 @@ class CongratulationWindow (InstallWindow):
         # this mucks around a bit, but it's the weird case and it's
         # better than adding a lot of complication to the normal
 	ics.cw.mainxml.get_widget("nextButton").hide()
-        if flags.livecdInstall or flags.imageInstall:
+        if flags.imageInstall:
             ics.cw.mainxml.get_widget("closeButton").show()
             ics.cw.mainxml.get_widget("closeButton").grab_focus()
         else:
-- 
1.7.6

_______________________________________________
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