utils.
This is a source code move, the report will remain in the same menu location
in the GUI
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21591 57a11ea4-9604-0410-9ed3-97b8803252fd
warnings in the tests, it also broke most reports.
This needs more study.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21589 57a11ea4-9604-0410-9ed3-97b8803252fd
Delete a bunch more functions left commented out from r21579
Remove references to deleted functions from gnucash_core.py
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21587 57a11ea4-9604-0410-9ed3-97b8803252fd
- GncEntryLedger switches to read-only
- Toolbar actions of several plugin pages switch to insensitive
(invoice, normal register)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21585 57a11ea4-9604-0410-9ed3-97b8803252fd
The compiler complains if there is no previous declaration of the non-static
function xaccSplitSetSlots_nc.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21582 57a11ea4-9604-0410-9ed3-97b8803252fd
Eventually, this should enable multi-duplication of a selection.
However, my gtk-2.20 seems to be broken w.r.t. multi-selections in
GtkCList, so I better have this available only in newer gtk and so far still deactivated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21580 57a11ea4-9604-0410-9ed3-97b8803252fd
Nothing in gnc-session-scm.c was being used, so deleted it and its corresponding header.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21579 57a11ea4-9604-0410-9ed3-97b8803252fd
Note: this introduces a subtle change in how autofill works for business
ledgers: quantities will from now on always be autofilled to positive
values. See the comment in the code for more details.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21574 57a11ea4-9604-0410-9ed3-97b8803252fd
Several subdirectories have a subdirectory "gnucash", which clean tried to remove by including in the CLEANFILES variable in Makefile.am. This doesn't work, because directories can't be removed with rm, they require rm -r. Add a clean-local: target which calls rm -r on the gnucash subdirectory.
Some Makefile.ams used an AC_SUBSTed variable to define an optionally-compiled subdirectory, then included the variable in SUBDIRS and the actual directory name in DIST_SUBDIRS. This breaks the distclean and maintainer-clean targets when the optional directory is built, because it is then processed twice, and there is no Makefile the second time so make halts. Replaced the AC_SUBSTed variables with ones local to the Makefile.am, switched with an AM_CONDITIONAL. That way automake can figure out the dist_subdirs on its own.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21570 57a11ea4-9604-0410-9ed3-97b8803252fd
Also, add a "(read-only)" suffix in the window title if we are read-only.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21565 57a11ea4-9604-0410-9ed3-97b8803252fd
This was because the "date" field was indeed be set with a different
time of day (noon vs. start of day), depending on the various code
places.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21562 57a11ea4-9604-0410-9ed3-97b8803252fd
This fixes the time-of-day mismatch between entering a new entry
(that was using timespecCanonicalDayTime, "noon") vs. duplicating
an invoice (that was using gnc_timet_get_today_start, "start of day").
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21561 57a11ea4-9604-0410-9ed3-97b8803252fd
This is much more suitable to avoid any ambiguities due to differently
chosen time-of-day in various parts of the code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21560 57a11ea4-9604-0410-9ed3-97b8803252fd
In particular, glib doesn't offer a function for easily accessing
the "today" date as a GDate. What a pity. It's added now as gnc_g_date_new_today().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21559 57a11ea4-9604-0410-9ed3-97b8803252fd
No more, no less. This object isn't used in any other way in gnucash, so
we better get rid of the extra potential complexity here.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21548 57a11ea4-9604-0410-9ed3-97b8803252fd