[PATCH] Remove 'Back' button on depsolving exception for ks installs (#673170)

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

 



A followup to commit f9b8f722fbb44517ebca220a60709e61056562bc.  This
gets the rest of the dialog boxes that may have Back buttons.
---
 yuminstall.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index e7d82c2..876cdbc 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1047,7 +1047,7 @@ class AnacondaYum(YumSorter):
                 msg = _("There was an error running your transaction for "
                         "the following reason: %s\n") % str(e)
 
-                if self.anaconda.id.upgrade or anaconda.isKickstart:
+                if self.anaconda.id.upgrade or self.anaconda.isKickstart:
                     rc = intf.messageWindow(_("Error"), msg, type="custom",
                                             custom_icon="error",
                                             custom_buttons=[_("_Exit installer")])
@@ -1132,7 +1132,8 @@ class AnacondaYum(YumSorter):
             spaceprob = to_unicode(spaceprob)
             fileprob = to_unicode(fileprob)
 
-            if len(self.anaconda.backend.getRequiredMedia()) > 1 or self.anaconda.id.upgrade:
+            if len(self.anaconda.backend.getRequiredMedia()) > 1 or \
+               self.anaconda.id.upgrade or self.anaconda.isKickstart:
                 intf.detailedMessageWindow(_("Error Running Transaction"),
                    msg, spaceprob + "\n" + fileprob, type="custom",
                    custom_icon="error", custom_buttons=[_("_Exit installer")])
-- 
1.7.1

_______________________________________________
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