• R/O
  • HTTP
  • SSH
  • HTTPS

nvdajp: 提交

NVDA with Japanese branch


Commit MetaInfo

修訂00e683e9c93ba7860659d84feedc035056c02ed2 (tree)
時間2009-02-20 10:59:34
作者jteh <>
Commiterjteh <>

Log Message

[merge from main] fix: When NVDA is run from an 8.3 dos path, but it is installed in the related long path (e.g. progra~1 verses program files) NVDA will correctly identify that it is an installed copy and properly load the user's settings.

Change Summary

差異

--- a/source/config/__init__.py
+++ b/source/config/__init__.py
@@ -186,14 +186,11 @@ def isInstalledCopy():
186186 """Checks to see if this running copy of NVDA is installed on the system"""
187187 try:
188188 k=_winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NVDA")
189- try:
190- instDir=_winreg.QueryValueEx(k,"UninstallDirectory")[0]
191- except:
192- instDir=""
193- _winreg.CloseKey(k)
194- return os.path.normpath(os.getcwdu()).lower()==os.path.normpath(instDir).lower()
195- except:
189+ instDir=_winreg.QueryValueEx(k,"UninstallDirectory")[0]
190+ except WindowsError:
196191 return False
192+ _winreg.CloseKey(k)
193+ return os.stat(instDir)==os.stat(os.getcwdu())
197194
198195 def getUserDefaultConfigPath():
199196 if isInstalledCopy():
--- a/user_docs/whats new.txt
+++ b/user_docs/whats new.txt
@@ -1,5 +1,8 @@
11 What's New in NVDA
22
3+Changes since 0.6p3:
4+* fix: When NVDA is run from an 8.3 dos path, but it is installed in the related long path (e.g. progra~1 verses program files) NVDA will correctly identify that it is an installed copy and properly load the user's settings.
5+
36 Changes since 0.6 P2:
47 * new: As Microsoft Excel's formula bar is inaccessible to NVDA, provide an NVDA specific dialog box for editing when the user presses f2 on a cell.
58 * change: If the audio output device is set to use the Windows default device (Microsoft Sound Mapper), NVDA will now switch to the new default device for eSpeak and tones when the default device changes. For example, NVDA will switch to a USB audio device if it automatically becomes the default device when it is connected.
Show on old repository browser