This commit is contained in:
benfry
2007-06-26 03:10:56 +00:00
parent 136677c6ee
commit 02c509a150
3 changed files with 21 additions and 6 deletions

View File

@@ -759,6 +759,15 @@ public class Base {
}
static boolean openFolderAvailable() {
if (Base.isWindows() || Base.isMacOS()) return true;
//gnome-open, kde-open
if (Preferences.getString("
Process p = Runtime.getRuntime.exec(new String[] { "gnome-open" });
}
/**
* Implements the other cross-platform headache of opening
* a folder in the machine's native file browser.