summaryrefslogtreecommitdiffstats
path: root/pyanaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-07-17 10:36:58 -0400
committerChris Lumens <clumens@redhat.com>2012-07-17 10:36:58 -0400
commitc7127ee749d05317f3db2c97371fc309f16fc09d (patch)
tree9c049c879dc26b77b194bcaad01c93e8a489e4e9 /pyanaconda
parentabd3faee2cb535342bdaf8b0e65617451302712e (diff)
downloadanaconda-c7127ee749d05317f3db2c97371fc309f16fc09d.tar.gz
anaconda-c7127ee749d05317f3db2c97371fc309f16fc09d.tar.xz
anaconda-c7127ee749d05317f3db2c97371fc309f16fc09d.zip
Don't display betanag for final releases.
Diffstat (limited to 'pyanaconda')
-rw-r--r--pyanaconda/ui/gui/spokes/welcome.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/spokes/welcome.py b/pyanaconda/ui/gui/spokes/welcome.py
index 1f91254ab..e95b71ba3 100644
--- a/pyanaconda/ui/gui/spokes/welcome.py
+++ b/pyanaconda/ui/gui/spokes/welcome.py
@@ -32,7 +32,7 @@ from pyanaconda.ui.gui.utils import enlightbox
from pyanaconda.ui.gui.categories.localization import LocalizationCategory
from pyanaconda.localization import Language, LOCALE_PREFERENCES
-from pyanaconda.product import productName, productVersion
+from pyanaconda.product import isFinal, productName, productVersion
from pyanaconda import keyboard
from pyanaconda import localization
@@ -209,6 +209,11 @@ class WelcomeLanguageSpoke(LanguageMixIn, StandaloneSpoke):
# Override the default in StandaloneSpoke so we can display the beta
# warning dialog first.
def _on_continue_clicked(self, cb):
+ # Don't display the betanag dialog if this is the final release.
+ if isFinal:
+ StandaloneSpoke._on_continue_clicked(self, cb)
+ return
+
dlg = self.builder.get_object("betaWarnDialog")
with enlightbox(self.window, dlg):