summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2007-09-06 18:42:59 +0000
committerShaun McCance <shaunm@src.gnome.org>2007-09-06 18:42:59 +0000
commit462674344e9d003e0d20ed13412766b073829d64 (patch)
tree0c21149ad5ccd4d411d00a6bd4690e3daf9f3fa3
parent79471ce09e3e52e1878f1ef88855af2ce755594c (diff)
downloadyelp-462674344e9d003e0d20ed13412766b073829d64.tar.gz
- Pass the computed chunk depth to the stylesheets
* src/yelp-docbook.c: - Pass the computed chunk depth to the stylesheets svn path=/trunk/; revision=2940
-rw-r--r--ChangeLog5
-rw-r--r--src/yelp-docbook.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 079bf128..e6a67487 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-06 Shaun McCance <shaunm@gnome.org>
+
+ * src/yelp-docbook.c:
+ - Pass the computed chunk depth to the stylesheets
+
2007-09-06 Don Scorgie <dscorgie@svn.gnome.org>
* stylesheets/toc2html.xsl:
diff --git a/src/yelp-docbook.c b/src/yelp-docbook.c
index 1f34b174..1ad73702 100644
--- a/src/yelp-docbook.c
+++ b/src/yelp-docbook.c
@@ -495,6 +495,8 @@ docbook_process (YelpDocbook *docbook)
params_max += 20;
params = g_renew (gchar *, params, params_max);
}
+ params[params_i++] = "db.chunk.max_depth";
+ params[params_i++] = g_strdup_printf ("%i", docbook->priv->max_depth);
params[params_i] = NULL;