cocoa: one more 10.6-only method
original commit: c94df207a4678224b30f9746f533ca84a739fe45
This commit is contained in:
parent
46fac3892b
commit
9fa0057c3b
|
@ -66,9 +66,10 @@
|
|||
isDirectory: #:type _BOOL #t))
|
||||
(tellv ns setDirectory: #:type _NSString dir))))
|
||||
(when filename
|
||||
(tellv ns setNameFieldStringValue: #:type _NSString (path->string
|
||||
(file-name-from-path filename))))
|
||||
|
||||
(when (version-10.6-or-later?)
|
||||
(tellv ns setNameFieldStringValue: #:type _NSString (path->string
|
||||
(file-name-from-path filename)))))
|
||||
|
||||
(when (memq 'enter-packages style)
|
||||
(tellv ns setTreatsFilePackagesAsDirectories: #:type _BOOL #t))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user