This was just a crazy idea, but it turns out to be extremely easy.
This can be used as a place for new GUI elements which people prefer
to write in gtkmm/C++ instead of C. It's disabled by default.
Use configure --enable-gtkmm to enable it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20310 57a11ea4-9604-0410-9ed3-97b8803252fd
The new code was missing the call to gncInvoiceSortEntries.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20306 57a11ea4-9604-0410-9ed3-97b8803252fd
The extra toolbar buttons are disabled until the user enables them
manually in Preferences -> Business -> Extra buttons.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20304 57a11ea4-9604-0410-9ed3-97b8803252fd
Turned out this is rather easy: Just swap the "date-entered" of both items.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20294 57a11ea4-9604-0410-9ed3-97b8803252fd
On win32 the queryf() calls below seem to crash. On the other hand,
we know the used libdbi on windows is fine, so as a first
workaround, we assume libdbi is safe.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20287 57a11ea4-9604-0410-9ed3-97b8803252fd
I've been told (by users who know the subject well enough) the "Financial
Calculator" should rather be called a "Loan Repayment Calculator" or a
"Mortgage Payment Calculator", as this is what is being offered there. So
I finally made this renaming.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20268 57a11ea4-9604-0410-9ed3-97b8803252fd
Adding Doxygen commands to the Perl-scripts in the sources
I searched for every *.pl file in the GnuCash source and added Doxygen commands
like @file, @brief, @author to better include them in doxygen.
Patch by Christoph Holtermann.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20267 57a11ea4-9604-0410-9ed3-97b8803252fd
There are a few Perl-scripts scattered through the GnuCash sources. This patch
enables doxygen to interpret them so that they can be provided with information
about author, date and so on.
This is done by telling doxygen that their python-files. So python-comments can
be used.
The actual Perl-source is commented out by using
@cond Perl
...PERL-CODE...
@endcond Perl
Patch by Christoph Holtermann
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20266 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch adds the example skripts from
http://wiki.gnucash.org/wiki/Stocks/get_prices
to the directory python-bindings/example_scripts.
Patch by Christoph Holtermann.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20265 57a11ea4-9604-0410-9ed3-97b8803252fd
I changed gnucash_core.py so that GetSplitList methods of Transaction and
Account return Split-instances so that the user doesn't need to call
Split(instance=GetSplitList()[n]).
I checked the examples and changed one either.
Patch by Christoph Holtermann
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20264 57a11ea4-9604-0410-9ed3-97b8803252fd
Unfortunately this feature has been creating invoices with no currency set.
This leads to weird amounts that have more digits than expected and don't
sum up correctly, and it also triggers the warning dialog "One or more of
the entries are for accounts different from the invoice/bill currency. (...)"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20260 57a11ea4-9604-0410-9ed3-97b8803252fd
The report was unknowingly broken by the move of one function in r20209
namely gnc-locale-default-iso-currency-code from app-utils to core-utils,
and somehow this needs a re-export in the core-utils.scm declaration.
(I don't know why. For me, this confirms again this whole scheme plugin
stuff sucks, royally.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20259 57a11ea4-9604-0410-9ed3-97b8803252fd
The changes in the tree-model-account caused CRITICAL gtk warnings, so we
revert that part for now. The changes in gnc-ui-utils.[hc] have been kept.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20251 57a11ea4-9604-0410-9ed3-97b8803252fd