From: Jack Jansen Date: Mon, 9 Oct 1995 23:27:06 +0000 (+0000) Subject: Fixed positioning of icon on copy() X-Git-Tag: v1.3~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8a277cbdc32c06fe59465fc3f8bc260dc7d82ea;p=thirdparty%2FPython%2Fcpython.git Fixed positioning of icon on copy() --- diff --git a/Mac/Lib/macostools.py b/Mac/Lib/macostools.py index 87eff6ee9250..aa5eb6065875 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):