mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Set the reconcile after close button in import-main-matcher
Set the default visibility of the reconcile after close check button to be hidden and set it so it does not respond to gtk_show_all.
This commit is contained in:
@@ -946,19 +946,19 @@
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="reconcile_after_close_button">
|
||||
<property name="label" translatable="yes">Reconcile after match</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
<object class="GtkCheckButton" id="reconcile_after_close_button">
|
||||
<property name="label" translatable="yes">Reconcile after match</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="no_show_all">True</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
|
@@ -197,8 +197,6 @@ gboolean gnc_gen_trans_list_empty(GNCImportMainMatcher *info)
|
||||
void gnc_gen_trans_list_show_all(GNCImportMainMatcher *info)
|
||||
{
|
||||
gtk_widget_show_all (GTK_WIDGET (info->main_widget));
|
||||
// By default, do not show this check box.
|
||||
gnc_gen_trans_list_show_reconcile_after_close (info, FALSE, FALSE);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1095,7 +1093,8 @@ GNCImportMainMatcher * gnc_gen_trans_assist_new (GtkWidget *parent,
|
||||
g_signal_connect (G_OBJECT(info->show_matched_info), "toggled",
|
||||
G_CALLBACK(show_matched_info_toggled_cb), info);
|
||||
|
||||
info->reconcile_after_close = GTK_WIDGET(gtk_builder_get_object (builder, "reconcile_when_close_button"));
|
||||
// Create the checkbox, but do not show it by default.
|
||||
info->reconcile_after_close = GTK_WIDGET(gtk_builder_get_object (builder, "reconcile_after_close_button"));
|
||||
|
||||
show_update = gnc_import_Settings_get_action_update_enabled (info->user_settings);
|
||||
gnc_gen_trans_init_view (info, all_from_same_account, show_update);
|
||||
|
Reference in New Issue
Block a user