diff src/window.c @ 1267:dfa378900ec9

Remove harmful documentation.helpdir and documentation.htmldir options. These paths can still be modified through --with-readmedir and --htmldir configure options. Reported by Christopher Beland.
author zas_
date Thu, 29 Jan 2009 18:52:52 +0000
parents 2518a4a73d89
children 8b89e3ff286b
line wrap: on
line diff
--- a/src/window.c	Thu Jan 29 18:05:41 2009 +0000
+++ b/src/window.c	Thu Jan 29 18:52:52 2009 +0000
@@ -182,7 +182,7 @@
 {
 	gchar *name = options->helpers.html_browser.command_name;
 	gchar *cmd = options->helpers.html_browser.command_line;
-	gchar *path = g_build_filename(options->documentation.htmldir, "index.html", NULL);
+	gchar *path = g_build_filename(GQ_HTMLDIR, "index.html", NULL);
 	gchar *result = NULL;
 	gint i;
 
@@ -247,7 +247,7 @@
 		return;
 		}
 
-	path = g_build_filename(options->documentation.helpdir, "README", NULL);
+	path = g_build_filename(GQ_HELPDIR, "README", NULL);
 	help_window = help_window_new(_("Help"), "help", path, key);
 	g_free(path);