Changeset 4160
- Timestamp:
- 06/18/08 23:39:09 (4 months ago)
- Files:
-
- trunk/dabo/ui/uiwx/__init__.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/ui/uiwx/__init__.py
r4115 r4160 1381 1381 """ 1382 1382 ret = None 1383 cwd = os.getcwd() 1384 app = dabo.dAppRef 1385 if app: 1386 cwd = app.HomeDirectory 1387 1383 1388 try: 1384 1389 ret = _bmpCache[val] … … 1392 1397 dabopaths = [os.path.join(pth, val) 1393 1398 for pth in dabo.__path__] 1394 localpaths = [os.path.join( os.getcwd(), pth, val)1399 localpaths = [os.path.join(cwd, pth, val) 1395 1400 for pth in ("icons", "resources")] 1396 1401 # Create a list of the places to search for the image, with
