mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-159426 Mac Native File Chooser allows to select a file, but not a home directory
This commit is contained in:
@@ -309,6 +309,7 @@ class MacDistributionBuilder {
|
||||
"java.endorsed.dirs" : "",
|
||||
"idea.smooth.progress" : "false",
|
||||
"apple.laf.useScreenMenuBar" : "true",
|
||||
"apple.awt.fileDialogForDirectories" : "true",
|
||||
"apple.awt.graphics.UseQuartz" : "true",
|
||||
"apple.awt.fullscreencapturealldisplays": "false"]
|
||||
if (buildContext.productProperties.platformPrefix != null) {
|
||||
|
||||
@@ -814,6 +814,7 @@ private Map readIdeaProperties(Map args) {
|
||||
"java.endorsed.dirs": "",
|
||||
"idea.smooth.progress": "false",
|
||||
"apple.laf.useScreenMenuBar": "true",
|
||||
"apple.awt.fileDialogForDirectories": "true",
|
||||
"apple.awt.graphics.UseQuartz": "true",
|
||||
"apple.awt.fullscreencapturealldisplays": "false"]
|
||||
if (args.platform_prefix != null) {
|
||||
|
||||
@@ -160,6 +160,7 @@ public class PluginRunConfiguration extends RunConfigurationBase implements Modu
|
||||
if (SystemInfo.isMac) {
|
||||
vm.defineProperty("idea.smooth.progress", "false");
|
||||
vm.defineProperty("apple.laf.useScreenMenuBar", "true");
|
||||
vm.defineProperty("apple.awt.fileDialogForDirectories", "true");
|
||||
}
|
||||
|
||||
if (SystemInfo.isXWindow) {
|
||||
|
||||
Reference in New Issue
Block a user