update the sx name/info in the example calendar.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15698 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2007-03-09 03:12:50 +00:00
parent 71c512864d
commit 19e15cb2c4

View File

@ -1560,6 +1560,13 @@ gnc_sxed_update_cal(GncSxEditorDialog *sxed)
goto cleanup;
}
gnc_dense_cal_store_update_name(sxed->dense_cal_model, xaccSchedXactionGetName(sxed->sx));
{
gchar *schedule_desc = recurrenceListToCompactString(recurrences);
gnc_dense_cal_store_update_info(sxed->dense_cal_model, schedule_desc);
g_free(schedule_desc);
}
gnc_dense_cal_set_month(sxed->example_cal, g_date_get_month(&first_date));
gnc_dense_cal_set_year(sxed->example_cal, g_date_get_year(&first_date));