Skip to content

Commit

Permalink
Remove the old preference setting for default invoice report
Browse files Browse the repository at this point in the history
Remove preference setting and set the schema to be depreciated in
version 5000 and removed in version 6000.
  • Loading branch information
Bob-IT committed Feb 2, 2023
1 parent 07f3f53 commit cbf3907
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 55 deletions.
12 changes: 12 additions & 0 deletions gnucash/gschemas/pref_transformations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2152,4 +2152,16 @@
<obsolete old-path="org.gnucash.window.pages.account-tree.summary"
old-key="end-period"/>

<deprecate old-path="org.gnucash.GnuCash.dialogs.business.invoice"
old-key="invoice-printreport" />

</release>

<!--
<release version="6000">
<obsolete old-path="org.gnucash.GnuCash.dialogs.business.invoice"
old-key="invoice-printreport"/>
</release>
-->
66 changes: 11 additions & 55 deletions gnucash/gtkbuilder/business-prefs.glade
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,6 @@
<property name="step-increment">1</property>
<property name="page-increment">10</property>
</object>
<object class="GtkListStore" id="liststore_printinvoice">
<columns>
<!-- column-name item -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0" translatable="yes">Printable Invoice</col>
</row>
<row>
<col id="0" translatable="yes">Tax Invoice</col>
</row>
<row>
<col id="0" translatable="yes">Easy Invoice</col>
</row>
<row>
<col id="0" translatable="yes">Fancy Invoice</col>
</row>
</data>
</object>
<object class="GtkWindow" id="preferences_window">
<property name="visible">True</property>
<property name="can-focus">False</property>
Expand Down Expand Up @@ -158,18 +138,6 @@
<property name="top-attach">6</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Report for printing</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">7</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="pref/dialogs.business.invoice/tax-included">
<property name="label" translatable="yes">_Tax included</property>
Expand All @@ -185,7 +153,7 @@
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">8</property>
<property name="top-attach">7</property>
</packing>
</child>
<child>
Expand All @@ -203,7 +171,7 @@
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">9</property>
<property name="top-attach">8</property>
</packing>
</child>
<child>
Expand Down Expand Up @@ -311,27 +279,6 @@
<property name="top-attach">12</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="pref/dialogs.business.invoice/invoice-printreport">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="has-tooltip">True</property>
<property name="tooltip-markup">The invoice report to be used for printing.</property>
<property name="tooltip-text" translatable="yes">The invoice report to be used for printing.</property>
<property name="model">liststore_printinvoice</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext2"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">7</property>
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="pref/dialogs.business.invoice/days-in-advance">
<property name="visible">True</property>
Expand Down Expand Up @@ -431,6 +378,15 @@
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
</object>
Expand Down

0 comments on commit cbf3907

Please sign in to comment.