[POS-commit] r4026 - stoqlib/trunk/data/glade

Henrique Romano henrique at async.com.br
Fri Jul 28 16:16:31 BRT 2006


Author: henrique
Date: Fri Jul 28 16:16:31 2006
New Revision: 4026

Modified:
   stoqlib/trunk/data/glade/GiftCertificateTypeEditor.glade

Log:
Minor change, update widget names and remove base_sellable_info references



Modified: stoqlib/trunk/data/glade/GiftCertificateTypeEditor.glade
==============================================================================
--- stoqlib/trunk/data/glade/GiftCertificateTypeEditor.glade	(original)
+++ stoqlib/trunk/data/glade/GiftCertificateTypeEditor.glade	Fri Jul 28 16:16:31 2006
@@ -15,14 +15,14 @@
                         <property name="row_spacing">6</property>
                         <property name="visible">True</property>
                         <child>
-                            <widget class="kiwi+ui+widgets+label+Label" id="desc_label">
+                            <widget class="ProxyLabel" id="desc_label">
                                 <property name="label" context="yes" translatable="yes">Description:</property>
                                 <property name="visible">True</property>
                                 <property name="xalign">1.0</property>
                             </widget>
                         </child>
                         <child>
-                            <widget class="kiwi+ui+widgets+label+Label" id="commission_label">
+                            <widget class="ProxyLabel" id="commission_label">
                                 <property name="label" context="yes" translatable="yes">Commission:</property>
                                 <property name="visible">True</property>
                                 <property name="xalign">1.0</property>
@@ -33,11 +33,11 @@
                             </packing>
                         </child>
                         <child>
-                            <widget class="kiwi+ui+widgets+entry+Entry" id="description">
+                            <widget class="ProxyEntry" id="description">
                                 <property name="data_type">unicode</property>
                                 <property name="is_focus">True</property>
                                 <property name="mandatory">True</property>
-                                <property name="model_attribute">base_sellable_info.description</property>
+                                <property name="model_attribute">description</property>
                                 <property name="visible">True</property>
                                 <property name="width_chars">22</property>
                             </widget>
@@ -51,22 +51,21 @@
                                 <property name="spacing">6</property>
                                 <property name="visible">True</property>
                                 <child>
-                                    <widget class="kiwi+ui+widgets+spinbutton+SpinButton" id="commission">
+                                    <widget class="ProxySpinButton" id="commission">
                                         <property name="adjustment">0 0 100 1 10 0</property>
                                         <property name="data_type">Decimal</property>
                                         <property name="digits">2</property>
                                         <property name="is_focus">True</property>
                                         <property name="model_attribute">commission</property>
-                                        <property name="text" context="yes" translatable="yes">0.00</property>
+                                        <property name="text" context="yes" translatable="yes">0,00</property>
                                         <property name="visible">True</property>
-                                        <property name="xalign">1.0</property>
                                     </widget>
                                     <packing>
                                         <property name="expand">False</property>
                                     </packing>
                                 </child>
                                 <child>
-                                    <widget class="kiwi+ui+widgets+label+Label" id="kiwilabel5">
+                                    <widget class="ProxyLabel" id="kiwilabel5">
                                         <property name="label" context="yes" translatable="yes">%</property>
                                         <property name="visible">True</property>
                                         <property name="xalign">0.0</property>
@@ -85,7 +84,7 @@
                             </packing>
                         </child>
                         <child>
-                            <widget class="kiwi+ui+widgets+label+Label" id="kiwilabel2">
+                            <widget class="ProxyLabel" id="kiwilabel2">
                                 <property name="label" context="yes" translatable="yes">Price:</property>
                                 <property name="visible">True</property>
                                 <property name="xalign">1.0</property>
@@ -96,7 +95,7 @@
                             </packing>
                         </child>
                         <child>
-                            <widget class="kiwi+ui+widgets+label+Label" id="kiwilabel3">
+                            <widget class="ProxyLabel" id="kiwilabel3">
                                 <property name="label" context="yes" translatable="yes">Max Discount:</property>
                                 <property name="visible">True</property>
                                 <property name="xalign">1.0</property>
@@ -109,7 +108,7 @@
                             </packing>
                         </child>
                         <child>
-                            <widget class="kiwi+ui+widgets+entry+Entry" id="price">
+                            <widget class="ProxyEntry" id="price">
                                 <property name="completion">True</property>
                                 <property name="data_type">currency</property>
                                 <property name="is_focus">True</property>
@@ -128,22 +127,21 @@
                                 <property name="spacing">6</property>
                                 <property name="visible">True</property>
                                 <child>
-                                    <widget class="kiwi+ui+widgets+spinbutton+SpinButton" id="max_discount">
+                                    <widget class="ProxySpinButton" id="max_discount">
                                         <property name="adjustment">0 0 100 1 10 0</property>
                                         <property name="data_type">Decimal</property>
                                         <property name="digits">2</property>
                                         <property name="is_focus">True</property>
-                                        <property name="model_attribute">base_sellable_info.max_discount</property>
-                                        <property name="text" context="yes" translatable="yes">0.00</property>
+                                        <property name="model_attribute">max_discount</property>
+                                        <property name="text" context="yes" translatable="yes">0,00</property>
                                         <property name="visible">True</property>
-                                        <property name="xalign">1.0</property>
                                     </widget>
                                     <packing>
                                         <property name="expand">False</property>
                                     </packing>
                                 </child>
                                 <child>
-                                    <widget class="kiwi+ui+widgets+label+Label" id="kiwilabel6">
+                                    <widget class="ProxyLabel" id="kiwilabel6">
                                         <property name="label" context="yes" translatable="yes">%</property>
                                         <property name="visible">True</property>
                                         <property name="xalign">0.0</property>


More information about the POS-commit mailing list