If there are no document links, the default dialog is for a file uri
and if the escape key is pressed in this default state the following
error is added to the trace file...
ERROR <Gtk> gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT
(widget, event)' failed
This coming from the GtkFileChooserButton and to fix this add a signal
callback for the dialog 'key_press_event' to intercept the escape key
and emit a GTK_RESPONSE_CANCEL to close the dialog.
test-owner-report and test-stress-options require them to be able to
find owner-report and register-report templates by guid.
Interestingly the scm files are required, go files won't do.
Previously, every reload caused the chart to move through an animation, which
prevented visual comparison of state before and after reload.
Also remove the now redundant line disabling animations in budget-barchart.scm.
The bug specifies chart fonts are not customisable. We can copy the
(gnucash) stylesheet properties which define <h3> and <body> font
styles onto chartjs properties.
A new error raised in the latest versions of gcc and clang.
The address of string literals is undefined in the C standard so the
compiler raises an error if one tries to test for string equality by
comparing them. A better fix would be to replace QOF_ID strings with an
int-based identifier; an even better one would get rid of QOF_ID
entirely and use the C++ type system.
Multi selection was disabled for Bug 518833, 27/01/2019 but the select
sub accounts button was left giving the impression of multi selection.
I have enabled the multi selection for the tree view and while testing
all accounts selected were updated with the selected tax option.
Runtime type checks should only check for the mock up type, if
neccessary. If objects of another class than the mocked object itself
are processed, runtime type check should only check for the base-class
type. It should be possible to use mockup objects and non-mockup objects
within the same application.
The included headers are adapted accordingly.
reconcilation date depending on actual time.
Set the statement date that's really a time to the end of the day
so that transactions posted on the day are always included.
If a GObject is replaced by a mock up, its _get_type() function has to
be replaced as well. The replaced _get_type() functions have to return
the type of the mock up now.