zengxyz / rpms / anaconda

Forked from rpms/anaconda 3 months ago
Clone
5dfe96
From baa49690977c02b258bcd4e7c274ecc46919856a Mon Sep 17 00:00:00 2001
5dfe96
From: Pat Riehecky <riehecky@fnal.gov>
5dfe96
Date: Wed, 10 Jul 2019 09:48:12 -0500
5dfe96
Subject: [PATCH] branding: syspurpose doesn't make sense for CentOS
5dfe96

5dfe96
---
5dfe96
 pyanaconda/ui/gui/spokes/system_purpose.py | 4 ++++
5dfe96
 1 file changed, 4 insertions(+)
5dfe96

5dfe96
diff --git a/pyanaconda/ui/gui/spokes/system_purpose.py b/pyanaconda/ui/gui/spokes/system_purpose.py
5dfe96
index 98664de..a73d6f9 100644
5dfe96
--- a/pyanaconda/ui/gui/spokes/system_purpose.py
5dfe96
+++ b/pyanaconda/ui/gui/spokes/system_purpose.py
5dfe96
@@ -62,6 +62,10 @@ class SystemPurposeSpoke(NormalSpoke):
5dfe96
         # record if the spoke has been visited by the user at least once
5dfe96
         self._spoke_visited = False
5dfe96
 
5dfe96
+    @property
5dfe96
+    def showable(self):
5dfe96
+        return False
5dfe96
+
5dfe96
     def initialize(self):
5dfe96
         NormalSpoke.initialize(self)
5dfe96
         self.initialize_start()
5dfe96
-- 
5dfe96
1.8.3.1
5dfe96