summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-03-05 01:52:16 +0000
committerMatt Wilson <msw@redhat.com>2000-03-05 01:52:16 +0000
commitbd4fcbd080ddd3ba422767e80a1f8083c3075f3f (patch)
tree194ca3b9e753d02ff115b2c4188e2bd251036aa2 /gui.py
parentcdc9ca2a1dd94b6568e4454e87a3c94c8a9acbba (diff)
downloadanaconda-bd4fcbd080ddd3ba422767e80a1f8083c3075f3f.tar.gz
anaconda-bd4fcbd080ddd3ba422767e80a1f8083c3075f3f.tar.xz
anaconda-bd4fcbd080ddd3ba422767e80a1f8083c3075f3f.zip
remake gtkxmhtml widget
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py18
1 files changed, 14 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index cc6cf0b1c..a74805724 100755
--- a/gui.py
+++ b/gui.py
@@ -265,6 +265,16 @@ class InstallControlWindow (Thread):
gtk_set_locale ()
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 ())
+
# get the labels
for (button, text) in [ (self.nextButtonStock, _("Next")),
(self.prevButtonStock, _("Back")),
@@ -548,11 +558,11 @@ class InstallControlWindow (Thread):
self.helpState = TRUE
self.helpFrame = GtkFrame (_("Online Help"))
- box = GtkVBox (FALSE, 0)
+ self.box = GtkVBox (FALSE, 0)
- box.pack_start (GtkHSeparator (), FALSE)
- box.pack_start (self.html, TRUE)
- self.helpFrame.add (box)
+ self.box.pack_start (GtkHSeparator (), FALSE)
+ self.box.pack_start (self.html, TRUE)
+ self.helpFrame.add (self.box)
table = GtkTable (1, 3, TRUE)
table.attach (self.helpFrame, 0, 1, 0, 1)