gnucash master: Multiple changes pushed

Robert Fewell bobit at code.gnucash.org
Tue May 3 12:22:19 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/ee7ed89b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c6dff82b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/db6a8f80 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5d156474 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/17cf3170 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d78a6b2d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/91c7333a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0b67a912 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/506eb384 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6e8272b7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3fcaaef6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6d390dc6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b843dac2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/adbc3014 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/94105a19 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9cce53a6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b9e93d6e (commit)
	from  https://github.com/Gnucash/gnucash/commit/1a186b95 (commit)



commit ee7ed89b68a400f3e637f8a2a5b747486d7be1ad
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Apr 22 11:22:52 2022 +0100

    This partly fixes the currency and commodity combos
    
    With these changes the currency works but the commodity allows you to
    set the commodity but will crash if you save config or leave report
    open, this was tested on the 'Price scatter plot' report. Fixed with
    John's commit a8e6a59

commit c6dff82b12ad20a2bccc52e4cde98bdcaf5ca06a
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Apr 21 14:37:32 2022 +0100

    Toggle the sensitivity of date when using BothDateEntry

commit db6a8f809be236b0092910713e22086668dea9b7
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Apr 21 09:56:30 2022 +0100

    Tax Tables combo does not set the active one
    
    Fixed by correcting spelling of tax table qof type, should
    'gncTaxTable'. Also fixed setting tax table combo to 'none' when page
    reset button used.

commit 5d15647430d7303885eb120740955a9765e9f5ba
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Apr 18 13:37:35 2022 +0100

    Change some function alignments.

commit 17cf31700d19cfca74694ded2ec927b2ffbdb123
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Apr 18 13:36:16 2022 +0100

    Move setting up the account select changed callback till after selecting default value.

commit d78a6b2d12e766beaccbf690b1300dca34f1aabe
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Apr 18 13:32:17 2022 +0100

    Segfault when leaving the properties option pages in hierarchy assistant
    
    Segfaults when trying to retrieve the default budget value. Check for a
    valid iter before trying to retrieve the budget.

commit 91c7333aa2011b69e8f46fdda1ee019ce30f9dfd
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Apr 18 13:27:33 2022 +0100

    Fix segfault when running hierarchy assistant
    
    When the dialog options properties page is part of the hierarchy
    assistant, the top level window has changed and so can no longer get
    the option_win pointer so test for this being null before trying to
    update the sensitivity of the buttons.

commit 0b67a912175c272b82c2fd5a897d174eef39b8d0
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Apr 18 10:00:36 2022 +0100

    Fix the option GncOptionRangeValue
    
    The GncOptionRangeValue can be used with integers or doubles, the
    default being doubles. When used for setting the plot width/height,
    integers are used so all ValueTypes need to be integers other wise
    the when create_range_spinner is used you end up with the upper_bound
    value being G_MAXDOUBLE, a 309 character wide spin button. To
    differentiate the two, use 'set_alternate(true)' for integers.

commit 506eb38493e3ad5edd5672b365a514616986bcd1
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Apr 18 09:56:04 2022 +0100

    Update Chart Width/Height Plot setting
    
    The new plot setting does both settings, values above 100 are treated
    as pixels and ones below are treated as a percentage. This means the
    maximum valid setting must be higher and also the tooltip needs to be
    changed.

commit 6e8272b7b39886a6042d00dafadc07a6ee641e49
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 13 16:43:13 2022 +0100

    Casting error on the terminal
    
    Opening options dialog would generate the following error on the
    terminal, invalid cast from 'GtkComboBox' to 'GNCDateEdit' which was
    traced back to the RelativeDateEntry block_signals function. The
    returned value of the cast was not being used so was removed.

commit 3fcaaef657abf3240908e0d380a19adabba5740c
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 13 16:32:59 2022 +0100

    Object reference error on terminal
    
    Opening options dialog would generate the following error on the
    terminal, g_object_ref: assertion 'G_IS_OBJECT (object)' failed which
    was traced back to GncOptionDateUIItem trying to use a null pointer to
    reference the GtkUIItem.

commit 6d390dc6b45344b0b39ac013e3310529b9df6456
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 13 16:07:34 2022 +0100

    Error in trace file, gtk_box_pack: assertion failed
    
    In create_list_widget there was a duplicate set of lines that were
    trying to pack the view into the same box widget.

commit b843dac2d1e57bfaa303be2559110bb8649b02df
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 13 15:56:50 2022 +0100

    Block the list selection changed signal
    
    While the options dialog is loading, populating the GncGtkListUIItem
    will cause the selection changed signal to be emitted and update the
    options buttons but they are not yet available so block the signal.

commit adbc301499c4910f80be06e29cf4bb51a5278c09
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 13 16:27:34 2022 +0100

    Using an eventbox for tooltips is no longer required.

commit 94105a19f111ae145f048e164c3c50e3c4e3d7aa
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 13 16:17:03 2022 +0100

    GtkFontButton is deprecated, use GtkFontChooser instead

commit 9cce53a6278f2e57d4d3c744a34e4833cc6d3b3d
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 13 15:45:55 2022 +0100

    Assistant hierarchy builder functions
    
    With conversion of the source file to *.cpp the GtkBuilder connected
    functions need to wrapped in a 'extern "C"' block.

commit b9e93d6e68a6fd1fcefa8c14ef063d55ce4b1e86
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 13 15:39:24 2022 +0100

    Limit saving dialog options window size
    
    Only save the dialog options window size and location via the call
    backs for the button press event. Using the destroy signal is not
    suitable to save widget state as in this case the window position will
    be (0,0).



Summary of changes:
 gnucash/gnome-utils/dialog-options.cpp   | 131 +++++++++++++++++--------------
 gnucash/gnome/assistant-hierarchy.cpp    |  23 +++---
 gnucash/gnome/business-options-gnome.cpp |   3 +
 gnucash/report/options-utilities.scm     |   4 +-
 libgnucash/app-utils/gnc-option-impl.cpp |   4 +-
 libgnucash/app-utils/gnc-option-impl.hpp |  10 +--
 libgnucash/app-utils/gnc-optiondb.i      |   3 +-
 libgnucash/app-utils/options.scm         |   2 +-
 8 files changed, 98 insertions(+), 82 deletions(-)



More information about the gnucash-patches mailing list