gnucash maint: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Thu Jul 16 19:25:25 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/b7bdc15b (commit)
via https://github.com/Gnucash/gnucash/commit/212b1f3f (commit)
from https://github.com/Gnucash/gnucash/commit/9e61a2d5 (commit)
commit b7bdc15b2d9640086ba10703d7858b3fa0502a4a
Merge: 9e61a2d5f 212b1f3f9
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Jul 16 16:24:24 2020 -0700
Merge Jean Laroche's '797759_no_highlight' into maint.
commit 212b1f3f9dcf9271641762a9b361719fb3545d76
Author: jean <you at example.com>
Date: Tue May 19 14:02:18 2020 -0700
Bug 797759 - Some transactions are not highlighted in the matching window
This is a change from the previous code which used gtk_tree_selection_set_select_function() to prevent some transactions from being selectable.
In this solution, I removed the select_function, instead, during the cursor moved callback, I look at the list of selected transactions and de-select those that should be de-selected, but only if we have more than one transaction selected.
This allows the user to arrow up/down and see the transaction under the cursor be highlighted, but when rubber-banding selections, only the right ones are added to the selection.
Summary of changes:
gnucash/import-export/import-main-matcher.c | 129 ++++++++--------------------
1 file changed, 36 insertions(+), 93 deletions(-)
More information about the gnucash-patches
mailing list