[library-web] make sure GDK links from GTK+ 3 documentation are links to GDK3



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]