Skip to content

Commit

Permalink
Merge branch 'java7'
Browse files Browse the repository at this point in the history
  • Loading branch information
rjolly committed Dec 1, 2020
2 parents 051b99e + 3f6a1d8 commit 6d468d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/main/java/linoleum/Desktop.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public OpenAction() {

@Override
public void actionPerformed(final ActionEvent e) {
desktopPane.setRecording(false);
apps.select();
contentsAction.setEnabled(true);
}
Expand Down Expand Up @@ -127,6 +128,7 @@ public FullScreenAction() {

@Override
public void actionPerformed(final ActionEvent e) {
desktopPane.setRecording(false);
fullScreen();
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/linoleum/DesktopPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mime.types
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d468d7

Please sign in to comment.