make open dialogs on osx have no parent (unless the open-here? preference is set)

svn: r3334
This commit is contained in:
Eli Barzilay 2006-06-11 20:47:43 +00:00
parent dd8d58e050
commit bc017f488e

View File

@ -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])