From ef48476be2c7066a886f626044d43493472cae93 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Sun, 8 Jul 2001 23:31:57 +0000 Subject: fix help text for non iso-8859-1 languages --- gui.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'gui.py') diff --git a/gui.py b/gui.py index 4add1f083..8a9ea0a2b 100755 --- a/gui.py +++ b/gui.py @@ -362,7 +362,7 @@ class InstallControlWindow: self.reloadRcQueued = 1 -# self.html.set_font_charset (locale) + self.html.set_font_charset (locale) self.updateStockButtons() self.navFrame.set_label (_("Online Help")) self.installFrame.set_label (_("Language Selection")) @@ -389,14 +389,6 @@ class InstallControlWindow: self.dir = 1 self.setScreen () - if self.helpWin: - self.html.source (self.currentWindow.getICS().getHTML(self.langSearchPath)) - - self.html.source (self.currentWindow.getICS().getHTML(self.langSearchPath)) -# self.html.source ("") -# self.html.source ("

Flight of the Navigator


 
 

Coming soon to an anaconda near you") - - def helpClicked (self, widget, simulated = 0): self.hbox.remove (widget) @@ -421,12 +413,6 @@ class InstallControlWindow: self.hbox.reorder_child (self.hideHelpButton, 0) self.displayHelp = TRUE - def closeHelp(self, args): - self.helpWin.destroy() - self.html.destroy() - self.helpWin = None - self.showHelpButton.set_sensitive(TRUE) - def close (self, args): self.textWin.destroy() self.releaseButton.set_sensitive(TRUE) @@ -572,6 +558,7 @@ class InstallControlWindow: prevButton.set_sensitive (ics.getPrevEnabled ()) nextButton.set_sensitive (ics.getNextEnabled ()) + self.html.source ("") self.html.source (ics.getHTML(self.langSearchPath)) if (ics.getGrabNext ()): @@ -601,7 +588,6 @@ class InstallControlWindow: self.ii = ii self.dispatch = dispatch self.setLanguage(locale) - self.helpWin = None self.handle = None def keyRelease (self, window, event): @@ -725,7 +711,6 @@ class InstallControlWindow: self.html = GtkXmHTML() self.html.set_allow_body_colors(TRUE) self.html.source ("") - self.html.source ("

Flight of the Navigator


 
 

Coming soon to an anaconda near you") self.navFrame = GtkFrame (_("Online Help")) self.box = GtkVBox (FALSE, 0) -- cgit