summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-08 23:31:57 +0000
committerMatt Wilson <msw@redhat.com>2001-07-08 23:31:57 +0000
commitef48476be2c7066a886f626044d43493472cae93 (patch)
tree0ac6d0f0d612dc0784f7541dbb66f8b0f976d5c6 /gui.py
parentb41a3d18b9082878ba2cc2147aaff8f53ce7039c (diff)
downloadanaconda-ef48476be2c7066a886f626044d43493472cae93.tar.gz
anaconda-ef48476be2c7066a886f626044d43493472cae93.tar.xz
anaconda-ef48476be2c7066a886f626044d43493472cae93.zip
fix help text for non iso-8859-1 languages
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py19
1 files changed, 2 insertions, 17 deletions
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 ("<HTML><BODY BGCOLOR=white></BODY></HTML>")
-# self.html.source ("<HTML><BODY BGCOLOR=white><H1>Flight of the Navigator</h1><br>&nbsp;<br>&nbsp;<br><p>Coming soon to an anaconda near you</BODY></HTML>")
-
-
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 ("<HTML><BODY BGCOLOR=white></BODY></HTML>")
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 ("<HTML><BODY BGCOLOR=white></BODY></HTML>")
- self.html.source ("<HTML><BODY BGCOLOR=white><H1>Flight of the Navigator</h1><br>&nbsp;<br>&nbsp;<br><p>Coming soon to an anaconda near you</BODY></HTML>")
self.navFrame = GtkFrame (_("Online Help"))
self.box = GtkVBox (FALSE, 0)