From a21fb0061dcf7218962d97396a4051076765f2f7 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 9 Nov 2005 22:05:56 +0000 Subject: Create the SnackScreen earlier to prevent a traceback in kickstart. --- text.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'text.py') diff --git a/text.py b/text.py index 4a394d7fc..450f81023 100644 --- a/text.py +++ b/text.py @@ -426,7 +426,7 @@ class InstallInterface: def __init__(self): signal.signal(signal.SIGINT, signal.SIG_IGN) signal.signal(signal.SIGTSTP, signal.SIG_IGN) - self.screen = None + self.screen = SnackScreen() self.showingHelpOnHelp = 0 def __del__(self): @@ -473,7 +473,6 @@ class InstallInterface: id.instLanguage.setRuntimeLanguage("en_US.UTF-8") id.instLanguage.setRuntimeDefaults(oldlang) - self.screen = SnackScreen() self.screen.helpCallback(self.helpWindow) # uncomment this line to make the installer quit on @@ -497,9 +496,6 @@ class InstallInterface: # draw the frame after setting up the fallback self.drawFrame() - # draw the frame after setting up the fallback - self.drawFrame() - if oldlang is not None: ButtonChoiceWindow(self.screen, "Language Unavailable", "%s display is unavailable in text mode. " -- cgit