Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 118e127

Browse files
committed
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.
1 parent c32cec1 commit 118e127

4 files changed

Lines changed: 2234 additions & 3 deletions

File tree

Lib/plat-mac/Carbon/LaunchServices.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ def FOUR_CHAR_CODE(x): return x
44
from Carbon.Files import *
55
kLSRequestAllInfo = -1
66
kLSRolesAll = -1
7+
kLSUnknownType = FOUR_CHAR_CODE('\0\0\0\0')
8+
kLSUnknownCreator = FOUR_CHAR_CODE('\0\0\0\0')
79
kLSInvalidExtensionIndex = -1
810
kLSUnknownErr = -10810
911
kLSNotAnApplicationErr = -10811
@@ -49,8 +51,8 @@ def FOUR_CHAR_CODE(x): return x
4951
kLSRolesEditor = 0x00000004
5052
# kLSRolesAll = (unsigned long)0xFFFFFFFF
5153
kLSUnknownKindID = 0
52-
kLSUnknownType = 0
53-
kLSUnknownCreator = 0
54+
# kLSUnknownType = 0
55+
# kLSUnknownCreator = 0
5456
kLSAcceptDefault = 0x00000001
5557
kLSAcceptAllowLoginUI = 0x00000002
5658
kLSLaunchDefaults = 0x00000001

Lib/plat-mac/Carbon/Qt.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
from _Qt import *
2+
try:
3+
_ = AddFilePreview
4+
except:
5+
raise ImportError, "Old (2.3) _Qt.so module loaded in stead of new (2.4) _Qt.so"
6+

0 commit comments

Comments
 (0)