make open dialogs on osx have no parent (unless the open-here? preference is set)
svn: r3334 original commit: bc017f488e504fe26f1f438b1a601f626f385e63
This commit is contained in:
parent
a955f7f97b
commit
f94171a9c0
|
@ -380,7 +380,8 @@
|
|||
|
||||
(define open-file
|
||||
(λ ()
|
||||
(let* ([parent (and ; (preferences:get 'framework:open-here?)
|
||||
(let* ([parent (and (or (not (eq? 'macosx (system-type)))
|
||||
(preferences:get 'framework:open-here?))
|
||||
(get-top-level-focus-window))]
|
||||
[file
|
||||
(parameterize ([finder:dialog-parent-parameter parent])
|
||||
|
|
Loading…
Reference in New Issue
Block a user