summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-09 03:11:15 +0000
committerMatt Wilson <msw@redhat.com>2001-07-09 03:11:15 +0000
commit436f318a18ad62322a75db4d7beff39940078788 (patch)
treef1f265517b217c0a77fdde2eae471f6cce407e97 /gui.py
parent2a0f6b77625228d05d005a77902a4239484eb9e9 (diff)
downloadanaconda-436f318a18ad62322a75db4d7beff39940078788.tar.gz
anaconda-436f318a18ad62322a75db4d7beff39940078788.tar.xz
anaconda-436f318a18ad62322a75db4d7beff39940078788.zip
prevent html flickering by not reloading the help page every time we call update(). Also do it after we reload the rc, that keeps the background white (the reloadrc turns it gray)
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index 8a9ea0a2b..853bfe0a8 100755
--- a/gui.py
+++ b/gui.py
@@ -525,6 +525,9 @@ class InstallControlWindow:
self.window.reset_rc_styles ()
self.reloadRcQueued = 0
+ self.html.source ("<HTML><BODY BGCOLOR=white></BODY></HTML>")
+ self.html.source (ics.getHTML(self.langSearchPath))
+
def destroyCurrentWindow(self):
children = self.installFrame.children ()
if children:
@@ -558,9 +561,6 @@ class InstallControlWindow:
prevButton.set_sensitive (ics.getPrevEnabled ())
nextButton.set_sensitive (ics.getNextEnabled ())
- self.html.source ("<HTML><BODY BGCOLOR=white></BODY></HTML>")
- self.html.source (ics.getHTML(self.langSearchPath))
-
if (ics.getGrabNext ()):
nextButton.grab_focus ()