26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
diff -Nru src/org/omegat/gui/help/HelpFrame.java src/org/omegat-gil/gui/help/HelpFrame.java
|
|
--- src/org/omegat/gui/help/HelpFrame.java 2011-01-18 16:36:16.000000000 +0100
|
|
+++ src/org/omegat-gil/gui/help/HelpFrame.java 2011-03-10 19:08:45.000000000 +0100
|
|
@@ -173,8 +173,7 @@
|
|
} else {
|
|
path = filename;
|
|
}
|
|
- File f = new File(StaticUtils.installDir() + File.separator + OConsts.HELP_DIR + File.separator
|
|
- + path);
|
|
+ File f = new File(OConsts.HELP_DIR + File.separator + path);
|
|
try {
|
|
if (f.exists()) {
|
|
return f.toURI().toURL();
|
|
diff -Nru src/org/omegat/util/OConsts.java src/org/omegat-gil/util/OConsts.java
|
|
--- src/org/omegat/util/OConsts.java 2011-01-18 16:37:04.000000000 +0100
|
|
+++ src/org/omegat-gil/util/OConsts.java 2011-03-10 19:10:32.000000000 +0100
|
|
@@ -58,7 +58,7 @@
|
|
// help
|
|
public static final String HELP_HOME = "index.html";
|
|
public static final String HELP_INSTANT_START = "instantStartGuideNoTOC.html";
|
|
- public static final String HELP_DIR = "docs";
|
|
+ public static final String HELP_DIR = "/usr/share/omegat/docs";
|
|
public static final String HELP_LANG_INDEX = "languageIndex.html";
|
|
|
|
// status file consts
|