Fixes #5175. Geary when not installed will open the help relative to the source dir rather than the exec dir.
This commit is contained in:
parent
6966ffa831
commit
08cdcc38a8
1 changed files with 1 additions and 1 deletions
|
|
@ -666,7 +666,7 @@ public class GearyController {
|
|||
File exec_dir = GearyApplication.instance.get_exec_dir();
|
||||
string[] argv = new string[3];
|
||||
argv[0] = "gnome-help";
|
||||
argv[1] = exec_dir.get_parent().get_child("help").get_path();
|
||||
argv[1] = GearyApplication.SOURCE_ROOT_DIR + "/help";
|
||||
argv[2] = null;
|
||||
if (!Process.spawn_async(exec_dir.get_path(), argv, null,
|
||||
SpawnFlags.SEARCH_PATH | SpawnFlags.STDERR_TO_DEV_NULL, null, out pid)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue