|
|
|
|
@ -1,288 +1,84 @@
|
|
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
<glade-interface>
|
|
|
|
|
<!-- interface-requires gtk+ 2.10 -->
|
|
|
|
|
<!-- interface-naming-policy toplevel-contextual -->
|
|
|
|
|
<widget class="GtkDialog" id="Tax Table Window">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="title" translatable="yes">Tax Tables</property>
|
|
|
|
|
<property name="type_hint">normal</property>
|
|
|
|
|
<signal name="destroy" handler="tax_table_window_destroy_cb"/>
|
|
|
|
|
<interface>
|
|
|
|
|
<requires lib="gtk+" version="2.16"/>
|
|
|
|
|
<!-- interface-naming-policy project-wide -->
|
|
|
|
|
<object class="GtkDialog" id="New Tax Table Dialog">
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
|
<property name="modal">True</property>
|
|
|
|
|
<property name="default_height">370</property>
|
|
|
|
|
<property name="type_hint">dialog</property>
|
|
|
|
|
<child internal-child="vbox">
|
|
|
|
|
<widget class="GtkVBox" id="dialog-vbox1">
|
|
|
|
|
<object class="GtkVBox" id="dialog-vbox6">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkHBox" id="hbox4">
|
|
|
|
|
<child internal-child="action_area">
|
|
|
|
|
<object class="GtkHButtonBox" id="dialog-action_area6">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkVBox" id="vbox1">
|
|
|
|
|
<object class="GtkButton" id="cancel_button">
|
|
|
|
|
<property name="label">gtk-cancel</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="label1">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes"><b>Tax Tables</b></property>
|
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkAlignment" id="alignment5">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkScrolledWindow" id="scrolledwindow1">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkTreeView" id="tax_tables_view">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="headers_visible">False</property>
|
|
|
|
|
<property name="rules_hint">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkAlignment" id="alignment6">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkHButtonBox" id="hbox2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<property name="layout_style">spread</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkButton" id="delete_table_button">
|
|
|
|
|
<property name="label">gtk-delete</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_delete_table_cb"/>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkButton" id="new_table_button">
|
|
|
|
|
<property name="label">gtk-new</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_new_table_cb"/>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkVBox" id="vbox2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="label2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes"><b>Tax Table Entries</b></property>
|
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkAlignment" id="alignment7">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkScrolledWindow" id="scrolledwindow2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkTreeView" id="tax_table_entries">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="headers_visible">False</property>
|
|
|
|
|
<property name="rules_hint">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkAlignment" id="alignment8">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkHButtonBox" id="hbox3">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<property name="layout_style">spread</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkButton" id="edit_entry_button">
|
|
|
|
|
<property name="label" translatable="yes">_Edit</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_edit_entry_cb"/>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkButton" id="delete_entry_button">
|
|
|
|
|
<property name="label">gtk-delete</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_delete_entry_cb"/>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkButton" id="new_entry_button">
|
|
|
|
|
<property name="label">gtk-new</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_new_entry_cb"/>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child internal-child="action_area">
|
|
|
|
|
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkButton" id="close_button">
|
|
|
|
|
<property name="label">gtk-close</property>
|
|
|
|
|
<property name="response_id">-6</property>
|
|
|
|
|
<object class="GtkButton" id="ok_button">
|
|
|
|
|
<property name="label">gtk-ok</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
|
<property name="has_default">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_window_close"/>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="GtkDialog" id="New Tax Table Dialog">
|
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
|
<property name="modal">True</property>
|
|
|
|
|
<property name="type_hint">dialog</property>
|
|
|
|
|
<child internal-child="vbox">
|
|
|
|
|
<widget class="GtkVBox" id="dialog-vbox2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkTable" id="ttd_table">
|
|
|
|
|
<object class="GtkTable" id="ttd_table">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="n_rows">7</property>
|
|
|
|
|
<property name="n_columns">2</property>
|
|
|
|
|
<property name="column_spacing">12</property>
|
|
|
|
|
<property name="row_spacing">6</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkEntry" id="name_entry">
|
|
|
|
|
<object class="GtkEntry" id="name_entry">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="invisible_char">●</property>
|
|
|
|
|
<property name="activates_default">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
<property name="invisible_char_set">True</property>
|
|
|
|
|
<property name="primary_icon_activatable">False</property>
|
|
|
|
|
<property name="secondary_icon_activatable">False</property>
|
|
|
|
|
<property name="primary_icon_sensitive">True</property>
|
|
|
|
|
<property name="secondary_icon_sensitive">True</property>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
|
<property name="right_attach">2</property>
|
|
|
|
|
@ -292,10 +88,11 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="spacer">
|
|
|
|
|
<object class="GtkLabel" id="spacer">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="top_attach">2</property>
|
|
|
|
|
<property name="bottom_attach">3</property>
|
|
|
|
|
@ -304,12 +101,13 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="label11">
|
|
|
|
|
<object class="GtkLabel" id="label11">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes"><b>Tax Table Entry</b></property>
|
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="right_attach">2</property>
|
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
|
@ -319,12 +117,13 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="table_title">
|
|
|
|
|
<object class="GtkLabel" id="table_title">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes"><b>Tax Table</b></property>
|
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="right_attach">2</property>
|
|
|
|
|
<property name="x_options">GTK_FILL</property>
|
|
|
|
|
@ -332,19 +131,21 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkAlignment" id="alignment4">
|
|
|
|
|
<object class="GtkAlignment" id="alignment4">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="account_label">
|
|
|
|
|
<object class="GtkLabel" id="account_label">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="yalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes">_Account:</property>
|
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="top_attach">6</property>
|
|
|
|
|
<property name="bottom_attach">7</property>
|
|
|
|
|
@ -353,19 +154,21 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkAlignment" id="alignment3">
|
|
|
|
|
<object class="GtkAlignment" id="alignment3">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="value_label">
|
|
|
|
|
<object class="GtkLabel" id="value_label">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes">_Value: </property>
|
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
|
<property name="justify">right</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="top_attach">5</property>
|
|
|
|
|
<property name="bottom_attach">6</property>
|
|
|
|
|
@ -374,20 +177,22 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkAlignment" id="alignment2">
|
|
|
|
|
<object class="GtkAlignment" id="alignment2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="label6">
|
|
|
|
|
<object class="GtkLabel" id="label6">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes">_Type: </property>
|
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
|
<property name="justify">right</property>
|
|
|
|
|
<property name="mnemonic_widget">type_combobox</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="top_attach">4</property>
|
|
|
|
|
<property name="bottom_attach">5</property>
|
|
|
|
|
@ -396,15 +201,15 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkScrolledWindow" id="acct_window">
|
|
|
|
|
<object class="GtkScrolledWindow" id="acct_window">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="hscrollbar_policy">never</property>
|
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
|
<child>
|
|
|
|
|
<placeholder/>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
|
<property name="right_attach">2</property>
|
|
|
|
|
@ -413,12 +218,13 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkHBox" id="amount_box">
|
|
|
|
|
<object class="GtkHBox" id="amount_box">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<child>
|
|
|
|
|
<placeholder/>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
|
<property name="right_attach">2</property>
|
|
|
|
|
@ -428,20 +234,22 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkAlignment" id="alignment1">
|
|
|
|
|
<object class="GtkAlignment" id="alignment1">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkLabel" id="table_name">
|
|
|
|
|
<object class="GtkLabel" id="table_name">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes">_Name: </property>
|
|
|
|
|
<property name="use_underline">True</property>
|
|
|
|
|
<property name="justify">right</property>
|
|
|
|
|
<property name="mnemonic_widget">name_entry</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
|
<property name="bottom_attach">2</property>
|
|
|
|
|
@ -450,11 +258,17 @@
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkComboBox" id="type_combobox">
|
|
|
|
|
<object class="GtkComboBox" id="type_combobox">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="items" translatable="yes">Value $
|
|
|
|
|
Percent %</property>
|
|
|
|
|
</widget>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="model">type_liststore</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkCellRendererText" id="cellrenderertext1"/>
|
|
|
|
|
<attributes>
|
|
|
|
|
<attribute name="text">0</attribute>
|
|
|
|
|
</attributes>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
|
<property name="right_attach">2</property>
|
|
|
|
|
@ -467,56 +281,323 @@ Percent %</property>
|
|
|
|
|
<child>
|
|
|
|
|
<placeholder/>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">True</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
<action-widgets>
|
|
|
|
|
<action-widget response="-6">cancel_button</action-widget>
|
|
|
|
|
<action-widget response="-5">ok_button</action-widget>
|
|
|
|
|
</action-widgets>
|
|
|
|
|
</object>
|
|
|
|
|
<object class="GtkDialog" id="Tax Table Window">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="title" translatable="yes">Tax Tables</property>
|
|
|
|
|
<property name="type_hint">normal</property>
|
|
|
|
|
<signal name="destroy" handler="tax_table_window_destroy_cb" swapped="no"/>
|
|
|
|
|
<child internal-child="vbox">
|
|
|
|
|
<object class="GtkVBox" id="dialog-vbox4">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="spacing">8</property>
|
|
|
|
|
<child internal-child="action_area">
|
|
|
|
|
<widget class="GtkHButtonBox" id="dialog-action_area2">
|
|
|
|
|
<object class="GtkHButtonBox" id="dialog-action_area4">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="layout_style">end</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkButton" id="cancel_button">
|
|
|
|
|
<property name="label">gtk-cancel</property>
|
|
|
|
|
<property name="response_id">-6</property>
|
|
|
|
|
<object class="GtkButton" id="close_button">
|
|
|
|
|
<property name="label">gtk-close</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
<signal name="clicked" handler="tax_table_window_close" swapped="no"/>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkHBox" id="hbox4">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="spacing">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<widget class="GtkButton" id="ok_button">
|
|
|
|
|
<property name="label">gtk-ok</property>
|
|
|
|
|
<property name="response_id">-5</property>
|
|
|
|
|
<object class="GtkVBox" id="vbox1">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="can_default">True</property>
|
|
|
|
|
<property name="has_default">True</property>
|
|
|
|
|
<property name="receives_default">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
</widget>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkLabel" id="label1">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes"><b>Tax Tables</b></property>
|
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkAlignment" id="alignment5">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkTreeView" id="tax_tables_view">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="headers_visible">False</property>
|
|
|
|
|
<property name="rules_hint">True</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">True</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkAlignment" id="alignment6">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkHButtonBox" id="hbox2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<property name="layout_style">spread</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="delete_table_button">
|
|
|
|
|
<property name="label">gtk-delete</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_delete_table_cb" swapped="no"/>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="new_table_button">
|
|
|
|
|
<property name="label">gtk-new</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_new_table_cb" swapped="no"/>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="expand">True</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkVBox" id="vbox2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="border_width">6</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkLabel" id="label2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
|
<property name="label" translatable="yes"><b>Tax Table Entries</b></property>
|
|
|
|
|
<property name="use_markup">True</property>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkAlignment" id="alignment7">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkScrolledWindow" id="scrolledwindow2">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="hscrollbar_policy">automatic</property>
|
|
|
|
|
<property name="vscrollbar_policy">automatic</property>
|
|
|
|
|
<property name="shadow_type">in</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkTreeView" id="tax_table_entries">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="headers_visible">False</property>
|
|
|
|
|
<property name="rules_hint">True</property>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">True</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkAlignment" id="alignment8">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="left_padding">12</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkHButtonBox" id="hbox3">
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
|
<property name="layout_style">spread</property>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="edit_entry_button">
|
|
|
|
|
<property name="label">_Edit</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_edit_entry_cb" swapped="no"/>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="delete_entry_button">
|
|
|
|
|
<property name="label">gtk-delete</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_delete_entry_cb" swapped="no"/>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
<child>
|
|
|
|
|
<object class="GtkButton" id="new_entry_button">
|
|
|
|
|
<property name="label">gtk-new</property>
|
|
|
|
|
<property name="visible">True</property>
|
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
|
<property name="use_action_appearance">False</property>
|
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
|
<signal name="clicked" handler="tax_table_new_entry_cb" swapped="no"/>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">False</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">True</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">1</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
<packing>
|
|
|
|
|
<property name="expand">False</property>
|
|
|
|
|
<property name="pack_type">end</property>
|
|
|
|
|
<property name="position">0</property>
|
|
|
|
|
<property name="expand">True</property>
|
|
|
|
|
<property name="fill">True</property>
|
|
|
|
|
<property name="position">2</property>
|
|
|
|
|
</packing>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</object>
|
|
|
|
|
</child>
|
|
|
|
|
</widget>
|
|
|
|
|
</glade-interface>
|
|
|
|
|
<action-widgets>
|
|
|
|
|
<action-widget response="-6">close_button</action-widget>
|
|
|
|
|
</action-widgets>
|
|
|
|
|
</object>
|
|
|
|
|
<object class="GtkListStore" id="type_liststore">
|
|
|
|
|
<columns>
|
|
|
|
|
<!-- column-name item -->
|
|
|
|
|
<column type="gchararray"/>
|
|
|
|
|
</columns>
|
|
|
|
|
<data>
|
|
|
|
|
<row>
|
|
|
|
|
<col id="0" translatable="yes">Value $</col>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<col id="0" translatable="yes">Percent %</col>
|
|
|
|
|
</row>
|
|
|
|
|
</data>
|
|
|
|
|
</object>
|
|
|
|
|
</interface>
|