[Gnucash-changes] Forgot to name the widgets properly so that the preferences dialog would

David Hampton hampton at cvs.gnucash.org
Sun Oct 2 20:09:03 EDT 2005


Log Message:
-----------
Forgot to name the widgets properly so that the preferences dialog
would time them in with their gconf settings.  Add the 'bayesian
matching' preference.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/import-export:
        generic-import.glade

Revision Data
-------------
Index: generic-import.glade
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/generic-import.glade,v
retrieving revision 1.18.4.7
retrieving revision 1.18.4.8
diff -Lsrc/import-export/generic-import.glade -Lsrc/import-export/generic-import.glade -u -r1.18.4.7 -r1.18.4.8
--- src/import-export/generic-import.glade
+++ src/import-export/generic-import.glade
@@ -1239,7 +1239,7 @@
       <property name="column_spacing">0</property>
 
       <child>
-	<widget class="GtkCheckButton" id="checkbutton1">
+	<widget class="GtkCheckButton" id="gconf/dialogs/import/generic_matcher/enable_skip">
 	  <property name="tooltip" translatable="yes">Enable the SKIP action in the transaction matcher.  If enabled, a transaction whose best match's score is in the yellow zone (above the Auto-ADD threshold but below the Auto-CLEAR threshold) will be SKIPed by default.</property>
 	  <property name="can_focus">True</property>
 	  <property name="label" translatable="yes">Enable SKIP transaction action</property>
@@ -1262,7 +1262,7 @@
       </child>
 
       <child>
-	<widget class="GtkCheckButton" id="checkbutton2">
+	<widget class="GtkCheckButton" id="gconf/dialogs/import/generic_matcher/enable_edit">
 	  <property name="tooltip" translatable="yes">Enable the EDIT action in the transaction matcher.  NOT YET SUPPORTED</property>
 	  <property name="can_focus">True</property>
 	  <property name="label" translatable="yes">Enable EDIT match action</property>
@@ -1285,11 +1285,11 @@
       </child>
 
       <child>
-	<widget class="GtkLabel" id="label847787">
+	<widget class="GtkLabel" id="label847785">
 	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">Auto-_ADD threshold</property>
-	  <property name="use_underline">True</property>
-	  <property name="use_markup">False</property>
+	  <property name="label" translatable="yes">&lt;b&gt;Generic Importer&lt;/b&gt;</property>
+	  <property name="use_underline">False</property>
+	  <property name="use_markup">True</property>
 	  <property name="justify">GTK_JUSTIFY_LEFT</property>
 	  <property name="wrap">False</property>
 	  <property name="selectable">False</property>
@@ -1297,39 +1297,104 @@
 	  <property name="yalign">0.5</property>
 	  <property name="xpad">0</property>
 	  <property name="ypad">0</property>
-	  <property name="mnemonic_widget">spinbutton2</property>
 	</widget>
 	<packing>
 	  <property name="left_attach">0</property>
-	  <property name="right_attach">1</property>
-	  <property name="top_attach">4</property>
-	  <property name="bottom_attach">5</property>
-	  <property name="x_padding">12</property>
+	  <property name="right_attach">4</property>
+	  <property name="top_attach">0</property>
+	  <property name="bottom_attach">1</property>
 	  <property name="x_options">fill</property>
 	  <property name="y_options"></property>
 	</packing>
       </child>
 
       <child>
-	<widget class="GtkLabel" id="label847788">
+	<widget class="GtkSpinButton" id="gconf/dialogs/import/generic_matcher/atm_fee_threshold">
 	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">Auto-CLEAR threshold</property>
-	  <property name="use_underline">False</property>
-	  <property name="use_markup">False</property>
-	  <property name="justify">GTK_JUSTIFY_LEFT</property>
+	  <property name="tooltip" translatable="yes">In some places commercial ATMs (not belonging to a financial institution) are installed in places like convienience store.  These ATM add its fee directly to the amount instead of showing up as a separate transaction or in your monthly banking fees.  For example, you withdraw 100$, and you are charged 101,50$ plus Interac fees.  If you manually entered that 100$, the amounts won't match.  You should set this to whatever is the maximum such fee in your area (in units of your local currency), so the transaction will be recognised as a match.</property>
+	  <property name="can_focus">True</property>
+	  <property name="climb_rate">1</property>
+	  <property name="digits">2</property>
+	  <property name="numeric">False</property>
+	  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+	  <property name="snap_to_ticks">False</property>
 	  <property name="wrap">False</property>
-	  <property name="selectable">False</property>
-	  <property name="xalign">0</property>
-	  <property name="yalign">0.5</property>
-	  <property name="xpad">0</property>
-	  <property name="ypad">0</property>
+	  <property name="adjustment">2 0 1000 0.01 1 1</property>
 	</widget>
 	<packing>
-	  <property name="left_attach">0</property>
-	  <property name="right_attach">1</property>
+	  <property name="left_attach">1</property>
+	  <property name="right_attach">2</property>
+	  <property name="top_attach">7</property>
+	  <property name="bottom_attach">8</property>
+	  <property name="x_options"></property>
+	  <property name="y_options"></property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkSpinButton" id="gconf/dialogs/import/generic_matcher/auto_clear_threshold">
+	  <property name="visible">True</property>
+	  <property name="tooltip" translatable="yes">A transaction whose best match's score is in the green zone (above or equal to the Auto-CLEAR threshold) will be CLEARed by default.</property>
+	  <property name="can_focus">True</property>
+	  <property name="climb_rate">1</property>
+	  <property name="digits">0</property>
+	  <property name="numeric">False</property>
+	  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+	  <property name="snap_to_ticks">False</property>
+	  <property name="wrap">False</property>
+	  <property name="adjustment">1 6 12 1 10 10</property>
+	</widget>
+	<packing>
+	  <property name="left_attach">1</property>
+	  <property name="right_attach">2</property>
+	  <property name="top_attach">6</property>
+	  <property name="bottom_attach">7</property>
+	  <property name="x_options">fill</property>
+	  <property name="y_options"></property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkSpinButton" id="gconf/dialogs/import/generic_matcher/auto_add_threshold">
+	  <property name="visible">True</property>
+	  <property name="tooltip" translatable="yes">A transaction whose best match's score is in the red zone (above the display threshold but below or equal to the Auto-ADD threshold) will be ADDed by default.</property>
+	  <property name="can_focus">True</property>
+	  <property name="climb_rate">1</property>
+	  <property name="digits">0</property>
+	  <property name="numeric">False</property>
+	  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+	  <property name="snap_to_ticks">False</property>
+	  <property name="wrap">False</property>
+	  <property name="adjustment">1 1 6 1 10 10</property>
+	</widget>
+	<packing>
+	  <property name="left_attach">1</property>
+	  <property name="right_attach">2</property>
 	  <property name="top_attach">5</property>
 	  <property name="bottom_attach">6</property>
-	  <property name="x_padding">12</property>
+	  <property name="x_options">fill</property>
+	  <property name="y_options"></property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkSpinButton" id="gconf/dialogs/import/generic_matcher/match_threshold">
+	  <property name="visible">True</property>
+	  <property name="tooltip" translatable="yes">The minimum score a potential match must have to be displayed in the match list.</property>
+	  <property name="can_focus">True</property>
+	  <property name="climb_rate">1</property>
+	  <property name="digits">0</property>
+	  <property name="numeric">True</property>
+	  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+	  <property name="snap_to_ticks">False</property>
+	  <property name="wrap">False</property>
+	  <property name="adjustment">1 0 6 1 10 10</property>
+	</widget>
+	<packing>
+	  <property name="left_attach">1</property>
+	  <property name="right_attach">2</property>
+	  <property name="top_attach">4</property>
+	  <property name="bottom_attach">5</property>
 	  <property name="x_options">fill</property>
 	  <property name="y_options"></property>
 	</packing>
@@ -1352,8 +1417,8 @@
 	<packing>
 	  <property name="left_attach">0</property>
 	  <property name="right_attach">1</property>
-	  <property name="top_attach">6</property>
-	  <property name="bottom_attach">7</property>
+	  <property name="top_attach">7</property>
+	  <property name="bottom_attach">8</property>
 	  <property name="x_padding">12</property>
 	  <property name="x_options">fill</property>
 	  <property name="y_options"></property>
@@ -1361,10 +1426,10 @@
       </child>
 
       <child>
-	<widget class="GtkLabel" id="label847786">
+	<widget class="GtkLabel" id="label847788">
 	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">Match _display threshold</property>
-	  <property name="use_underline">True</property>
+	  <property name="label" translatable="yes">Auto-CLEAR threshold</property>
+	  <property name="use_underline">False</property>
 	  <property name="use_markup">False</property>
 	  <property name="justify">GTK_JUSTIFY_LEFT</property>
 	  <property name="wrap">False</property>
@@ -1373,13 +1438,12 @@
 	  <property name="yalign">0.5</property>
 	  <property name="xpad">0</property>
 	  <property name="ypad">0</property>
-	  <property name="mnemonic_widget">spinbutton1</property>
 	</widget>
 	<packing>
 	  <property name="left_attach">0</property>
 	  <property name="right_attach">1</property>
-	  <property name="top_attach">3</property>
-	  <property name="bottom_attach">4</property>
+	  <property name="top_attach">6</property>
+	  <property name="bottom_attach">7</property>
 	  <property name="x_padding">12</property>
 	  <property name="x_options">fill</property>
 	  <property name="y_options"></property>
@@ -1387,11 +1451,11 @@
       </child>
 
       <child>
-	<widget class="GtkLabel" id="label847785">
+	<widget class="GtkLabel" id="label847787">
 	  <property name="visible">True</property>
-	  <property name="label" translatable="yes">&lt;b&gt;Generic Importer&lt;/b&gt;</property>
-	  <property name="use_underline">False</property>
-	  <property name="use_markup">True</property>
+	  <property name="label" translatable="yes">Auto-_ADD threshold</property>
+	  <property name="use_underline">True</property>
+	  <property name="use_markup">False</property>
 	  <property name="justify">GTK_JUSTIFY_LEFT</property>
 	  <property name="wrap">False</property>
 	  <property name="selectable">False</property>
@@ -1402,101 +1466,58 @@
 	</widget>
 	<packing>
 	  <property name="left_attach">0</property>
-	  <property name="right_attach">4</property>
-	  <property name="top_attach">0</property>
-	  <property name="bottom_attach">1</property>
-	  <property name="x_options">fill</property>
-	  <property name="y_options"></property>
-	</packing>
-      </child>
-
-      <child>
-	<widget class="GtkSpinButton" id="spinbutton4">
-	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">In some places commercial ATMs (not belonging to a financial institution) are installed in places like convienience store.  These ATM add its fee directly to the amount instead of showing up as a separate transaction or in your monthly banking fees.  For example, you withdraw 100$, and you are charged 101,50$ plus Interac fees.  If you manually entered that 100$, the amounts won't match.  You should set this to whatever is the maximum such fee in your area (in units of your local currency), so the transaction will be recognised as a match.</property>
-	  <property name="can_focus">True</property>
-	  <property name="climb_rate">1</property>
-	  <property name="digits">2</property>
-	  <property name="numeric">False</property>
-	  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
-	  <property name="snap_to_ticks">False</property>
-	  <property name="wrap">False</property>
-	  <property name="adjustment">2 0 1000 0.01 1 1</property>
-	</widget>
-	<packing>
-	  <property name="left_attach">1</property>
-	  <property name="right_attach">2</property>
-	  <property name="top_attach">6</property>
-	  <property name="bottom_attach">7</property>
-	  <property name="x_options"></property>
-	  <property name="y_options"></property>
-	</packing>
-      </child>
-
-      <child>
-	<widget class="GtkSpinButton" id="spinbutton3">
-	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">A transaction whose best match's score is in the green zone (above or equal to the Auto-CLEAR threshold) will be CLEARed by default.</property>
-	  <property name="can_focus">True</property>
-	  <property name="climb_rate">1</property>
-	  <property name="digits">0</property>
-	  <property name="numeric">False</property>
-	  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
-	  <property name="snap_to_ticks">False</property>
-	  <property name="wrap">False</property>
-	  <property name="adjustment">1 6 12 1 10 10</property>
-	</widget>
-	<packing>
-	  <property name="left_attach">1</property>
-	  <property name="right_attach">2</property>
+	  <property name="right_attach">1</property>
 	  <property name="top_attach">5</property>
 	  <property name="bottom_attach">6</property>
+	  <property name="x_padding">12</property>
 	  <property name="x_options">fill</property>
 	  <property name="y_options"></property>
 	</packing>
       </child>
 
       <child>
-	<widget class="GtkSpinButton" id="spinbutton2">
+	<widget class="GtkLabel" id="label847786">
 	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">A transaction whose best match's score is in the red zone (above the display threshold but below or equal to the Auto-ADD threshold) will be ADDed by default.</property>
-	  <property name="can_focus">True</property>
-	  <property name="climb_rate">1</property>
-	  <property name="digits">0</property>
-	  <property name="numeric">False</property>
-	  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
-	  <property name="snap_to_ticks">False</property>
+	  <property name="label" translatable="yes">Match _display threshold</property>
+	  <property name="use_underline">True</property>
+	  <property name="use_markup">False</property>
+	  <property name="justify">GTK_JUSTIFY_LEFT</property>
 	  <property name="wrap">False</property>
-	  <property name="adjustment">1 1 6 1 10 10</property>
+	  <property name="selectable">False</property>
+	  <property name="xalign">0</property>
+	  <property name="yalign">0.5</property>
+	  <property name="xpad">0</property>
+	  <property name="ypad">0</property>
 	</widget>
 	<packing>
-	  <property name="left_attach">1</property>
-	  <property name="right_attach">2</property>
+	  <property name="left_attach">0</property>
+	  <property name="right_attach">1</property>
 	  <property name="top_attach">4</property>
 	  <property name="bottom_attach">5</property>
+	  <property name="x_padding">12</property>
 	  <property name="x_options">fill</property>
 	  <property name="y_options"></property>
 	</packing>
       </child>
 
       <child>
-	<widget class="GtkSpinButton" id="spinbutton1">
+	<widget class="GtkCheckButton" id="gconf/dialogs/import/generic_matcher/use_bayes">
 	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">The minimum score a potential match must have to be displayed in the match list.</property>
 	  <property name="can_focus">True</property>
-	  <property name="climb_rate">1</property>
-	  <property name="digits">0</property>
-	  <property name="numeric">True</property>
-	  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
-	  <property name="snap_to_ticks">False</property>
-	  <property name="wrap">False</property>
-	  <property name="adjustment">1 0 6 1 10 10</property>
+	  <property name="label" translatable="yes">Use bayesian matching</property>
+	  <property name="use_underline">True</property>
+	  <property name="relief">GTK_RELIEF_NORMAL</property>
+	  <property name="focus_on_click">True</property>
+	  <property name="active">False</property>
+	  <property name="inconsistent">False</property>
+	  <property name="draw_indicator">True</property>
 	</widget>
 	<packing>
-	  <property name="left_attach">1</property>
-	  <property name="right_attach">2</property>
+	  <property name="left_attach">0</property>
+	  <property name="right_attach">4</property>
 	  <property name="top_attach">3</property>
 	  <property name="bottom_attach">4</property>
+	  <property name="x_padding">12</property>
 	  <property name="x_options">fill</property>
 	  <property name="y_options"></property>
 	</packing>


More information about the gnucash-changes mailing list