]> saetta.ns0.it Git - libgtkform/commitdiff
Missing type combobox in gtk2zak.xslt. gtk3
authorAndrea Zagli <azagli@libero.it>
Mon, 12 Dec 2016 09:10:43 +0000 (10:10 +0100)
committerAndrea Zagli <azagli@libero.it>
Mon, 12 Dec 2016 09:10:43 +0000 (10:10 +0100)
tools/gtk2zak.xsl

index 9c7e7028b234f9ed189d5d44dbd55855f36ed0f4..3f3b3f94edac383455a029808f19150b7d37379a 100644 (file)
@@ -13,6 +13,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
                         <xsl:when test="@type = 'radio'">zak_form_gtk_form_element_radio</xsl:when>
                         <xsl:when test="@type = 'spin'">zak_form_gtk_form_element_spin</xsl:when>
                         <xsl:when test="@type = 'checkbox'">zak_form_gtk_form_element_check</xsl:when>
+                        <xsl:when test="@type = 'combobox'">zak_form_gtk_form_element_combo</xsl:when>
                  </xsl:choose>
                </xsl:attribute>
                <name><xsl:value-of select="field/@name"/></name>
@@ -39,6 +40,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
                </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="column-field != ''"><column-field><xsl:value-of select="column-field"/></column-field></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>
                <xsl:if test="field/trim = 't'"><filter type="zak_form_element_filter_trim"></filter></xsl:if>