]> saetta.ns0.it Git - libgtkform/commitdiff
Missing widget tag in gtk2zak.xsl.
authorAndrea Zagli <azagli@libero.it>
Fri, 9 Dec 2016 09:13:49 +0000 (10:13 +0100)
committerAndrea Zagli <azagli@libero.it>
Fri, 9 Dec 2016 09:13:49 +0000 (10:13 +0100)
tools/gtk2zak.xsl

index 2a685c421eb0780d2b687b2d0a7611fdaf1a3c7e..a3f1aa4546c7fddfd434d732a03b9f41931702cf 100644 (file)
@@ -35,7 +35,8 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
                        <xsl:otherwise><xsl:value-of select="field/default"/></xsl:otherwise>
                  </xsl:choose>
                  </default-value>
-                 </xsl:if>
+               </xsl:if>
+               <widget><xsl:value-of select="@name"/></widget>
                <xsl:if test="return-value != ''"><return-value><xsl:value-of select="return-value"/></return-value></xsl:if>
                <xsl:if test="field/display-format != ''"><format><xsl:value-of select="field/display-format"/></format></xsl:if>
                <xsl:if test="field/decimals != ''"><format><xsl:attribute name="decimals"><xsl:value-of select="field/decimals"/></xsl:attribute></format></xsl:if>