mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't use registry when it's not initialized yet (it will use only system properties anyway)
This commit is contained in:
@@ -667,7 +667,7 @@ public class IdeEventQueue extends EventQueue {
|
||||
|
||||
static {
|
||||
Field field = null;
|
||||
if (Registry.is("trace.clipboard.events") && SystemInfo.isJavaVersionAtLeast("1.8.0_60")) {
|
||||
if (Boolean.getBoolean("trace.clipboard.events") && SystemInfo.isJavaVersionAtLeast("1.8.0_60")) {
|
||||
try {
|
||||
field = InvocationEvent.class.getDeclaredField("runnable");
|
||||
field.setAccessible(true);
|
||||
|
||||
@@ -127,7 +127,7 @@ public class AppUIUtil {
|
||||
}
|
||||
|
||||
public static void registerBundledFonts() {
|
||||
if (Registry.is("ide.register.bundled.fonts")) {
|
||||
if (Boolean.getBoolean("ide.register.bundled.fonts")) {
|
||||
registerFont("/fonts/Inconsolata.ttf");
|
||||
registerFont("/fonts/SourceCodePro-Regular.ttf");
|
||||
registerFont("/fonts/SourceCodePro-Bold.ttf");
|
||||
|
||||
@@ -128,8 +128,6 @@ ide.balloon.shadowEnabled=true
|
||||
ide.balloon.shadow.size=15
|
||||
ide.expansion.hints.enabled=true
|
||||
ide.expansion.hints.on.all.screens=false
|
||||
ide.register.bundled.fonts=true
|
||||
ide.register.bundled.fonts.description=Disables automatic registration of bundled fonts: SourceCodePro, Inconsolata
|
||||
|
||||
editor.balloonHints=true
|
||||
editor.mouseSelectionStateResetTimeout=1000
|
||||
@@ -694,10 +692,6 @@ jdom.ignoring.whitespace=false
|
||||
|
||||
ide.mac.new.color.picker=false
|
||||
|
||||
trace.clipboard.events=false
|
||||
trace.clipboard.events.description=Enable detection and logging of OS notifications about external clipboard changes
|
||||
trace.clipboard.events.restartRequired=true
|
||||
|
||||
trace.focus.on.app.activation=false
|
||||
trace.focus.on.app.activation.description=Focus tracing on application activation and deactivation
|
||||
trace.focus.on.app.restartRequired=false
|
||||
|
||||
Reference in New Issue
Block a user