Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autodetect Linux Mint with Nemo correctly. Closes #36.
- Loading branch information
Showing
9 changed files
with
54 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
plugin/src/de/bastiankrol/startexplorer/crossplatform/RuntimeExecCallsMint.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package de.bastiankrol.startexplorer.crossplatform; | ||
|
||
import java.io.File; | ||
|
||
public class RuntimeExecCallsMint extends RuntimeExecCallsGnome | ||
{ | ||
private static final Capabilities MINT_CAPABILITIES = Capabilities.create() | ||
.withFileSelectionSupport().build(); | ||
|
||
@Override | ||
String[] getCommandForStartFileManager(File file, boolean selectFile) | ||
{ | ||
return new String[] { "nemo", getPath(file) }; | ||
} | ||
|
||
@Override | ||
public Capabilities getCapabilities() | ||
{ | ||
return MINT_CAPABILITIES; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters