--- dia-0.96-pre2/lib/dia_dirs.c.help 2007-01-18 17:50:18.000000000 +0100 +++ dia-0.96-pre2/lib/dia_dirs.c 2007-01-21 18:06:22.000000000 +0100 @@ -64,7 +64,10 @@ if (strlen (subdir) == 0) return g_strconcat (DATADIR, NULL); else - return g_strconcat (DATADIR, G_DIR_SEPARATOR_S, subdir, NULL); + if (!g_ascii_strcasecmp(subdir, "help")) + return g_strdup("/usr/share/gnome/help/dia"); + else + return g_strconcat (DATADIR, G_DIR_SEPARATOR_S, subdir, NULL); #endif } --- dia-0.96-pre2/app/commands.c.help 2007-01-06 23:28:01.000000000 +0100 +++ dia-0.96-pre2/app/commands.c 2007-01-21 17:12:40.000000000 +0100 @@ -565,7 +565,7 @@ } #else helpindex = g_strconcat(helpdir, G_DIR_SEPARATOR_S, dentry, - G_DIR_SEPARATOR_S "index.html", NULL); + G_DIR_SEPARATOR_S "dia.xml", NULL); #endif bestscore = score; } @@ -581,7 +581,7 @@ # define SW_SHOWNORMAL 1 ShellExecuteA (0, "open", helpindex, NULL, helpdir, SW_SHOWNORMAL); #else - command = getenv("BROWSER"); + command = "yelp"; command = g_strdup_printf("%s 'file://%s' &", command ? command : "gnome-open", helpindex); system(command); g_free(command);