summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-02-14 07:40:15 +0000
committerMatt Wilson <msw@redhat.com>2001-02-14 07:40:15 +0000
commit185dda47a447aa5499b24ff3873983e31b5d333a (patch)
tree2571e48e7ec1bd2a543802cc838ab0e06863d0ce /gui.py
parent3437f03e5443905c1916a7dee7362237e6bb8175 (diff)
downloadanaconda-185dda47a447aa5499b24ff3873983e31b5d333a.tar.gz
anaconda-185dda47a447aa5499b24ff3873983e31b5d333a.tar.xz
anaconda-185dda47a447aa5499b24ff3873983e31b5d333a.zip
reset html charset instead of rebuilding it
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/gui.py b/gui.py
index d6a54812e..0b4300acc 100755
--- a/gui.py
+++ b/gui.py
@@ -394,15 +394,8 @@ class InstallControlWindow:
self.window.reset_rc_styles ()
- # XXX recreate html widget to set new locale
- # there has to be a better way to do this, but I
- # can't find it. I try html.set_font_charset, but
- # it screws everything up.
- self.box.remove(self.html)
- self.html = GtkXmHTML()
- self.box.add (self.html)
- self.html.show ()
- self.html.source (self.currentScreen.getICS ().getHTML ())
+ locale = self.todo.instTimeLanguage.getLangNick(lang)
+ self.html.set_font_charset (locale)
# get the labels
for (button, text) in [ (self.nextButtonStock, _("Next")),