summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/Carbon/LaunchServices.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2004-03-13 23:50:48 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2004-03-13 23:50:48 (GMT)
commit118e1277a6fb79f2d03454021bf3cb2f7e9ae349 (patch)
tree18c12d4c5dbcfa108be812397d8b376000c42834 /Lib/plat-mac/Carbon/LaunchServices.py
parentc32cec14b4471af4672b8e923d07259dbb2fcfb9 (diff)
downloadcpython-118e1277a6fb79f2d03454021bf3cb2f7e9ae349.zip
cpython-118e1277a6fb79f2d03454021bf3cb2f7e9ae349.tar.gz
cpython-118e1277a6fb79f2d03454021bf3cb2f7e9ae349.tar.bz2
Two issues spotted by Ronald OUssoren:
- there were no accessor functions for the global per-database fields - packages and their dependencies were installed in order in stead of in reverse order.
Diffstat (limited to 'Lib/plat-mac/Carbon/LaunchServices.py')
-rw-r--r--Lib/plat-mac/Carbon/LaunchServices.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/plat-mac/Carbon/LaunchServices.py b/Lib/plat-mac/Carbon/LaunchServices.py
index 2be67c3..22bb421 100644
--- a/Lib/plat-mac/Carbon/LaunchServices.py
+++ b/Lib/plat-mac/Carbon/LaunchServices.py
@@ -4,6 +4,8 @@ def FOUR_CHAR_CODE(x): return x
from Carbon.Files import *
kLSRequestAllInfo = -1
kLSRolesAll = -1
+kLSUnknownType = FOUR_CHAR_CODE('\0\0\0\0')
+kLSUnknownCreator = FOUR_CHAR_CODE('\0\0\0\0')
kLSInvalidExtensionIndex = -1
kLSUnknownErr = -10810
kLSNotAnApplicationErr = -10811
@@ -49,8 +51,8 @@ kLSRolesViewer = 0x00000002
kLSRolesEditor = 0x00000004
# kLSRolesAll = (unsigned long)0xFFFFFFFF
kLSUnknownKindID = 0
-kLSUnknownType = 0
-kLSUnknownCreator = 0
+# kLSUnknownType = 0
+# kLSUnknownCreator = 0
kLSAcceptDefault = 0x00000001
kLSAcceptAllowLoginUI = 0x00000002
kLSLaunchDefaults = 0x00000001