Changeset 2495

Show
Ignore:
Timestamp:
11/11/08 21:50:18 (8 weeks ago)
Author:
bzr
Message:

* UserDefaultConfigPath? should be stored in unicode because some localized versions of windows use native characters in their C:\Documents and Settings\VB\Application Data paths. Still we do have a problem when path including native characters is passed along with -c parameter to the nvda.exe.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property bzr:revision-info
      •  

        old new  
        1 timestamp: 2008-11-11 14:42:23.398000002 +0100 
         1timestamp: 2008-11-11 22:49:48.023000002 +0100 
        22committer: Peter Vágner <peter.v@datagate.sk> 
        33properties:  
    • Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
      •  

        old new  
        2642642292 mick@kulgan.net-20081111115536-4010omrj0yzvubsn 
        2652652293 peter.v@datagate.sk-20081111134223-egai5qic7a5sxefg 
         2662294 peter.v@datagate.sk-20081111214948-6plfk2h28yw7yqx3 
    • Property bzr:file-ids
      •  

        old new  
        1 source/appModules/_default.py   92@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FappModules%2F_default.py 
        2 source/speechDictHandler.py     speechdicthandler.py-20081111133523-v8ija7vy1otjvpo9-1 
         1source/config/__init__.py       46@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2Fconfig%2F__init__.py 
  • trunk/source/config/__init__.py

    r2493 r2495  
    205205def getUserDefaultConfigPath(): 
    206206        if isInstalledCopy(): 
    207                 return os.path.expandvars("$appdata\\nvda") 
     207                return os.path.expandvars(u'$appdata\\nvda') 
    208208        else: 
    209                 return ".\\" 
     209                return u'.\\'