This is half of the work to align the cmake and autotools generated dist tarballs.
What's missing in the cmake dist tarball on my system are all the files generated
or installed by running autogen.sh. I can't test this because cmake can't run
my version of automake (1.15), or at least our CMake configuration prevents this from happening.
- We actually don't care about the available icon sizes so stop checking for them.
- Even if an icon isn't found continue (with a warning). Gtk uses a fallback icon in most cases.
Added another parameter to gnc_search_dialog_create to pass a style
class so it can be added to the search dialog which resulted in updating
other files as well.
They are now all stored in a directory structure similar to the final
installation target, so no more copying of images during build is needed.
Both Makefile.am and CMakelists.txt behave the same now.
Some additional cleanups:
- move stock_move related images to art; they aren't used so don't need to be installed
- clean up icon loading
There is one harmless warning still at run time about not all requested image
sizes being found. This is odd because they are all installed. I suspect gtk
no longer searches for these resolutions. Perhaps we just shouldn't run the
check on them. The application works fine even without the images in the
requested resolution.
Modify File->Properties dialog to maintain a default gain/loss account in a book KVP.
The changes made are:
app-utils/app-utils.scm - define items related to book default gain/loss
acct
app-utils/business-prefs.scm - define items related to book default
gain/loss acct;re-arrange sequence of options to make default (neither)
first
app-utils/gnc-ui-util.c - refine gnc_book_get_default_gains_policy to check
for hidden and/or placeholder status
app-utils/option-util.c & h - define items related to book default gain/loss
acct
app-utils/options.scm - add functionality related to book default gain/loss
acct
app-utils/test/test-gnc-ui-util.c - for gnc_book_get_default_gains_policy,
add tests to check for hidden and/or placeholder status
app-utils/test/test-option-util.cpp - add tests related to book default
gain/loss acct
engine/engine.i - define item related to book default gain/loss acct
gnome-utils/dialog-options.c & h - add functionality related to book default
gain/loss acct and rearrange dialog layout; make gain/loss acct widget
refresh on account maintenance
gnome-utils/gnc-main-window.c - only allow one book-option dialog if called
from file->properties
gnome-utils/gtkbuilder/dialog-options.glade - increase dialog height to
accomodate book default gain/loss acct widget; add tooltip text for
dialog buttons
gnome/assistant-hierarchy.c - change sequence of pages: book options before
currency selection; if book currency selected, currency also selected
gnome/gtkbuilder/assistant-hierarchy.glade - increase dialog height to
accomodate book default gain/loss acct widget