mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
This patch just changes the white space to be of a consistent format.
This commit is contained in:
parent
ba1f8cb1c6
commit
ea03301651
@ -491,14 +491,10 @@ get_filter_times (CsvExportInfo *info)
|
||||
else
|
||||
{
|
||||
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(info->csvd.start_date_today)))
|
||||
{
|
||||
info->csvd.start_time = gnc_time64_get_today_start();
|
||||
}
|
||||
else
|
||||
{
|
||||
info->csvd.start_time = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(info->csvd.end_date_choose)))
|
||||
{
|
||||
@ -509,15 +505,11 @@ get_filter_times (CsvExportInfo *info)
|
||||
else
|
||||
{
|
||||
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(info->csvd.start_date_today)))
|
||||
{
|
||||
info->csvd.end_time = gnc_time64_get_today_end();
|
||||
}
|
||||
else
|
||||
{
|
||||
info->csvd.end_time = gnc_time (NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*******************************************************
|
||||
@ -573,7 +565,7 @@ csv_export_start_date_cb (GtkWidget *radio, gpointer user_data)
|
||||
}
|
||||
|
||||
name = gtk_buildable_get_name (GTK_BUILDABLE(radio));
|
||||
active = ( g_strcmp0(name, g_strdup("start_date_choose")) == 0 ? 1 : 0 );
|
||||
active = (g_strcmp0 (name, "start_date_choose") == 0 ? 1 : 0 );
|
||||
gtk_widget_set_sensitive (info->csvd.start_date, active);
|
||||
get_filter_times (info);
|
||||
}
|
||||
@ -600,7 +592,7 @@ csv_export_end_date_cb (GtkWidget *radio, gpointer user_data)
|
||||
}
|
||||
|
||||
name = gtk_buildable_get_name (GTK_BUILDABLE(radio));
|
||||
active = ( g_strcmp0(name, g_strdup("end_date_choose")) == 0 ? 1 : 0 );
|
||||
active = (g_strcmp0 (name, "end_date_choose") == 0 ? 1 : 0 );
|
||||
gtk_widget_set_sensitive (info->csvd.end_date, active);
|
||||
get_filter_times (info);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user