diff -r c29c8b8dadf1 -r 197abac89822 UI/UserInterface.py --- a/UI/UserInterface.py Sat Jun 19 18:30:21 2010 +0200 +++ b/UI/UserInterface.py Sat Jun 19 19:34:20 2010 +0200 @@ -4438,7 +4438,10 @@ return if not home.endswith(".chm"): - home = "file://" + home + if Utilities.isWindowsPlatform(): + home = "file:///" + Utilities.fromNativeSeparators(home) + else: + home = "file://" + home else: home = pythonDocDir @@ -4486,7 +4489,10 @@ .format(home)) return - home = "file://" + home + if Utilities.isWindowsPlatform(): + home = "file:///" + Utilities.fromNativeSeparators(home) + else: + home = "file://" + home hvType = Preferences.getHelp("HelpViewerType") if hvType == 1: @@ -4540,7 +4546,10 @@ .format(home)) return - home = "file://" + home + if Utilities.isWindowsPlatform(): + home = "file:///" + Utilities.fromNativeSeparators(home) + else: + home = "file://" + home else: home = pyqt4DocDir @@ -4617,7 +4626,10 @@ .format(home)) return - home = "file://" + home + if Utilities.isWindowsPlatform(): + home = "file:///" + Utilities.fromNativeSeparators(home) + else: + home = "file://" + home else: home = pysideDocDir