Commits

Anonymous committed f9fd512

Fixed positioning of icon on copy()

  • Participants
  • Parent commits 28dfc46
  • Branches legacy-trunk

Comments (0)

Files changed (1)

Mac/Lib/macostools.py

 import macfs
 import Res
 import os
+from MACFS import *
 
 Error = 'macostools.Error'
 
 	
 	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):