diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-10-09 23:27:06 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-10-09 23:27:06 (GMT) |
commit | a8a277cbdc32c06fe59465fc3f8bc260dc7d82ea (patch) | |
tree | fa5434be5f4dd5e772f989b0df88b0c403f301b2 /Mac | |
parent | 9bd2d970b86641993a1711536e5f744a4c985c19 (diff) | |
download | cpython-a8a277cbdc32c06fe59465fc3f8bc260dc7d82ea.zip cpython-a8a277cbdc32c06fe59465fc3f8bc260dc7d82ea.tar.gz cpython-a8a277cbdc32c06fe59465fc3f8bc260dc7d82ea.tar.bz2 |
Fixed positioning of icon on copy()
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Lib/macostools.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Lib/macostools.py b/Mac/Lib/macostools.py index 87eff6e..aa5eb60 100644 --- a/Mac/Lib/macostools.py +++ b/Mac/Lib/macostools.py @@ -7,6 +7,7 @@ copy(src, dst) - Full copy of 'src' to 'dst' import macfs import Res import os +from MACFS import * Error = 'macostools.Error' @@ -74,7 +75,8 @@ def copy(src, dst, createpath=0): sf = srcfss.GetFInfo() df = dstfss.GetFInfo() - df.Creator, df.Type, df.Flags = sf.Creator, sf.Type, sf.Flags + df.Creator, df.Type = sf.Creator, sf.Type + df.Flags = (sf.Flags & (kIsStationary|kNameLocked|kHasBundle|kIsInvisible|kIsAlias)) dstfss.SetFInfo(df) def copytree(src, dst): |