From 54ec12e5aa89ebc8a068973671637477dfa4f216 Mon Sep 17 00:00:00 2001 From: Raphael Jolly Date: Mon, 19 Oct 2020 21:04:18 +0200 Subject: [PATCH 1/2] empty --- src/main/resources/META-INF/mime.types | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/META-INF/mime.types b/src/main/resources/META-INF/mime.types index 6691b84..b379e02 100644 --- a/src/main/resources/META-INF/mime.types +++ b/src/main/resources/META-INF/mime.types @@ -4,7 +4,7 @@ application/xhtml+xml xhtml application/java-archive jar application/javascript js application/mvr mvr -application/zip zip epub jmod +application/zip zip epub jmod nbm apk audio/basic au snd audio/midi midi mid audio/mpeg mp3 mp2 mpa From 3f6a1d8273fd6d771b8690ad550e47abe71df836 Mon Sep 17 00:00:00 2001 From: Raphael Jolly Date: Mon, 30 Nov 2020 20:22:13 +0100 Subject: [PATCH 2/2] empty --- src/main/java/linoleum/Desktop.java | 2 ++ src/main/java/linoleum/DesktopPane.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/linoleum/Desktop.java b/src/main/java/linoleum/Desktop.java index 323b9d3..7c56f8e 100644 --- a/src/main/java/linoleum/Desktop.java +++ b/src/main/java/linoleum/Desktop.java @@ -83,6 +83,7 @@ public OpenAction() { @Override public void actionPerformed(final ActionEvent e) { + desktopPane.setRecording(false); apps.select(); contentsAction.setEnabled(true); } @@ -127,6 +128,7 @@ public FullScreenAction() { @Override public void actionPerformed(final ActionEvent e) { + desktopPane.setRecording(false); fullScreen(); } } diff --git a/src/main/java/linoleum/DesktopPane.java b/src/main/java/linoleum/DesktopPane.java index 2639f1d..c81e4ea 100644 --- a/src/main/java/linoleum/DesktopPane.java +++ b/src/main/java/linoleum/DesktopPane.java @@ -189,11 +189,11 @@ public boolean isReopen() { return reopen; } - private void setRecording(final boolean recording) { + void setRecording(final boolean recording) { putClientProperty("DesktopPane.recording", this.recording = recording); } - public boolean isRecording() { + boolean isRecording() { return recording; }