gnucash maint: Bug 797707 - CSV Transaction Export: custom dates should be insensitive by default
Christopher Lam
clam at code.gnucash.org
Sat May 2 23:48:24 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/2f063923 (commit)
from https://github.com/Gnucash/gnucash/commit/6a3fabc3 (commit)
commit 2f0639235a93df7109c6178b0ec218cd408512fb
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun May 3 11:43:19 2020 +0800
Bug 797707 - CSV Transaction Export: custom dates should be insensitive by default
By default the absolute date selector needs to be made
insensitive. Selecting 'Custom Start/End date' will enable
sensitivity.
diff --git a/gnucash/import-export/csv-exp/assistant-csv-export.c b/gnucash/import-export/csv-exp/assistant-csv-export.c
index e9cc9bdcd..427a20bf3 100644
--- a/gnucash/import-export/csv-exp/assistant-csv-export.c
+++ b/gnucash/import-export/csv-exp/assistant-csv-export.c
@@ -938,6 +938,7 @@ csv_export_assistant_create (CsvExportInfo *info)
/* Start date info */
info->csvd.start_date = gnc_date_edit_new (gnc_time (NULL), FALSE, FALSE);
+ gtk_widget_set_sensitive (info->csvd.start_date, FALSE);
hbox = GTK_WIDGET(gtk_builder_get_object (builder, "start_date_hbox"));
gtk_box_pack_start (GTK_BOX(hbox), info->csvd.start_date, TRUE, TRUE, 0);
gtk_widget_show (info->csvd.start_date);
@@ -947,6 +948,7 @@ csv_export_assistant_create (CsvExportInfo *info)
/* End date info */
info->csvd.end_date = gnc_date_edit_new (gnc_time (NULL), FALSE, FALSE);
+ gtk_widget_set_sensitive (info->csvd.end_date, FALSE);
hbox = GTK_WIDGET(gtk_builder_get_object (builder, "end_date_hbox"));
gtk_box_pack_start (GTK_BOX(hbox), info->csvd.end_date, TRUE, TRUE, 0);
gtk_widget_show (info->csvd.end_date);
Summary of changes:
gnucash/import-export/csv-exp/assistant-csv-export.c | 2 ++
1 file changed, 2 insertions(+)
More information about the gnucash-changes
mailing list