[library-web] make sure GDK links from GTK+ 3 documentation are links to GDK3
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] make sure GDK links from GTK+ 3 documentation are links to GDK3
- Date: Mon, 10 Oct 2011 20:59:24 +0000 (UTC)
commit 35287a5621a3780c4316b4ecabe35184d5ce485b
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Mon Oct 10 16:57:11 2011 -0400
make sure GDK links from GTK+ 3 documentation are links to GDK3
data/xslt/html2html.xsl | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/xslt/html2html.xsl b/data/xslt/html2html.xsl
index abf20a5..28e9641 100644
--- a/data/xslt/html2html.xsl
+++ b/data/xslt/html2html.xsl
@@ -126,6 +126,9 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
<xsl:when test="contains(., '/gdk/unstable/')">
<xsl:value-of select="concat('../../gdk/unstable/', substring-after(., '/gdk/unstable/'))"/>
</xsl:when>
+ <xsl:when test="contains(., '/gdk/') and $libgo.module = 'gtk3'">
+ <xsl:value-of select="concat('../../gdk3/stable/', substring-after(., '/gdk/'))"/>
+ </xsl:when>
<xsl:when test="contains(., '/gdk/')">
<xsl:value-of select="concat('../../gdk/stable/', substring-after(., '/gdk/'))"/>
</xsl:when>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]