diff options
author | Matt Wilson <msw@redhat.com> | 2000-03-05 01:52:16 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-03-05 01:52:16 +0000 |
commit | bd4fcbd080ddd3ba422767e80a1f8083c3075f3f (patch) | |
tree | 194ca3b9e753d02ff115b2c4188e2bd251036aa2 /gui.py | |
parent | cdc9ca2a1dd94b6568e4454e87a3c94c8a9acbba (diff) | |
download | anaconda-bd4fcbd080ddd3ba422767e80a1f8083c3075f3f.tar.gz anaconda-bd4fcbd080ddd3ba422767e80a1f8083c3075f3f.tar.xz anaconda-bd4fcbd080ddd3ba422767e80a1f8083c3075f3f.zip |
remake gtkxmhtml widget
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -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) |