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:
Nate Lillich 2012-05-01 18:15:58 -07:00
parent 6966ffa831
commit 08cdcc38a8

View file

@ -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)) {