Add all scheme files to POTFILES.skip so that intltool-update > 0.50
will ignore them. Scheme file translation strings are handled by intl-scm/.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22298 57a11ea4-9604-0410-9ed3-97b8803252fd
This got lost in the conversion from clists to gtktreeview
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22296 57a11ea4-9604-0410-9ed3-97b8803252fd
Work around strange side-effect of r21665 which caused LC_TIME to be
changed after it had been set by setlocale(LC_ALL) in set_mac_locale().
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22293 57a11ea4-9604-0410-9ed3-97b8803252fd
This is very incomplete, but at the same time well isolated from the
rest of the code, so it is easy to disable should it not get functional
and stable before the next major release.
I decided to include it in trunk to give it more visibility and prevent
bitrot in the patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22289 57a11ea4-9604-0410-9ed3-97b8803252fd
To deal with all possible combinations, a user must set a debit or
credit amount for the payment. In most cases the right amount is
prefilled by selecting documents from the list.
In the process, this changes gets rid of some confusing sign reversal
logic in the payment code (gncOwner.c).
WARNING FOR SCRIPTERS: if you have written python or scheme code that
relies on gncOwnerApplyPayment, be careful: you now need to pass a
signed amount to the function instead of an absolute value, because a
payment could be for both an invoice/bill or a credit note. No more sign
reversals happen internally based on the owner being a vendor or a
customer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22286 57a11ea4-9604-0410-9ed3-97b8803252fd
Properly fix selection of documents when first loading the dialog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22285 57a11ea4-9604-0410-9ed3-97b8803252fd
- remove depreciated check on GtkObject flags (no longer required imo)
- save position and size on window destruction consistently
- add save and restore to some additional assistants (not all so far)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22283 57a11ea4-9604-0410-9ed3-97b8803252fd
Change date cells type from text-cell to date-cell to apply white-space: nowrap
style.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22281 57a11ea4-9604-0410-9ed3-97b8803252fd
instead of opening the account's register. The account's register can
still be opened normally using the menu option or right-click popup
menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22278 57a11ea4-9604-0410-9ed3-97b8803252fd
There were some more option menu functions in dialog-utils that I could
not find being used any where and this patch removes them.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22276 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch removes the option menu functions from gnc-date-edit which
come under the setting of time option. I do not think this bit is used
but can be seen if you find a GNCDateEdit and set the second option to
TRUE.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22275 57a11ea4-9604-0410-9ed3-97b8803252fd
The option menu's that appear in dialog options rely on per item tool
tips that GtkComboBox did not have. From a comment in the code, this was
highlighted on bug http://bugzilla.gnome.org/show_bug.cgi?id=303717
which implies this is now fixed but I could not see a way of adding them
so I created my own basic combo with per item tooltips.
This basic combo uses an external list store to reduce the functions
needed and can be seen when changing report settings. It look like it
does the job OK but may be I have missed something.
I have added comments in the code in areas that would need to be changed
if GtkComboBox ever has per item tool tips.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22274 57a11ea4-9604-0410-9ed3-97b8803252fd
Since commit 22246, an empty tip of the day appears in the list of tips.
This is due to the way the file is parsed.
This commit rewrites the parsing logic to avoid such problems. As an
added bonus, you can now add newlines in tips by using '\n' in the
string.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22260 57a11ea4-9604-0410-9ed3-97b8803252fd
Some functions may be called only by callback reference in a GtkBuilder
XML file (*.glade, *.xml, or *.ui). Indicate that usage in the test-file
function summary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22259 57a11ea4-9604-0410-9ed3-97b8803252fd
When making the text file tips-of-the-day, GnuCash expects 'gcc -E' to
preserve at least one of the whitespace lines between entries. However, this
relies on behavior of 'gcc -E' that isn't actually part of the spec, and is
a historical accident. And it changed in gcc-4.7, such that all the
whitespace is removed.
Work around this by explicitly adding a newline in the sed expression.
Pre gcc-4.7 there will be two newlines between tips, but this has no impact
on the tip displaying code.
Patch by Bill Nottingham
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22246 57a11ea4-9604-0410-9ed3-97b8803252fd
Lesson learned: don't use cairo_identity_matrix on a cairo_t managed by
GtkPrintContext. It kills a number of transformations that were already
configured by GtkPrintContext. On Windows this breaks proper scaling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22243 57a11ea4-9604-0410-9ed3-97b8803252fd
Don't symlink a (possibly non-existant) file from the source
tree on top of gnucash_core_c.py which was just generated by
swig in the build tree.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22237 57a11ea4-9604-0410-9ed3-97b8803252fd
Change r17720 has a typo that causes it to lose all -Ox flags passed in
CFLAGS when it was actually trying to preserve them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22236 57a11ea4-9604-0410-9ed3-97b8803252fd
Add job name and number to printable invoice. This only applies to
invoice.scm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22233 57a11ea4-9604-0410-9ed3-97b8803252fd