Commit Graph

22801 Commits

Author SHA1 Message Date
c-holtermann
8d429d8295 further debugging 2020-05-28 18:51:01 +02:00
c-holtermann
2c09fe4f44 debug on travis 2020-05-28 18:51:01 +02:00
c-holtermann
694e5a26ff add test for gettext 2020-05-28 18:50:55 +02:00
c-holtermann
31d2b3cb44 install gettext 2020-05-28 18:41:34 +02:00
c-holtermann
101a2ca09d add translatable python files 2020-05-28 18:41:34 +02:00
c-holtermann
22848c6b0a localize strings for python 2020-05-28 18:41:34 +02:00
c-holtermann
41dc6ddbe2 implement gettext localization for python
make gnc_path_get_localedir() and GETTEXT_PACKAGE available for python
to access locales. Import gettext module to provide _ as translator
method. Provide null _-method returning english text in case of missing gettext.
Make a lot of messages translatable by adding _-method. Include python
files to create .pot-files.
2020-05-28 18:41:34 +02:00
Robert Fewell
6e83494008 Add opening the transaction association from register sheet.
Add option to open transaction association by clicking on the
association in the association cell.
2020-05-28 17:25:41 +01:00
Robert Fewell
6b3f9bd80e Bug 796531 - Display the Transaction Association link
Displays the Transaction Association link in the Transaction Report and
when selected will open the association outside of Gnucash as it
currently does when opened from the register.
2020-05-28 17:25:41 +01:00
Robert Fewell
ac02966426 Add a total entries label to the Association dialogue 2020-05-28 17:25:41 +01:00
Robert Fewell
553b422e19 Change Associations list dialog for Business
Change the existing Transaction list dialog to cater for Business
associations and add a menu option to the Business menu to open this
dialog.
2020-05-28 17:25:41 +01:00
Robert Fewell
e2fac36608 Add an Invoice section to dialog-utils for when the path head changes 2020-05-28 17:25:41 +01:00
Robert Fewell
30f21763e8 Allow Associations to be added to invoices
Use the existing associations functions to do the updating, opening and
removing of the association for invoices and all objects that use the
invoice interface. The actual association when present is added as a
link button which is shown below the notes.
2020-05-28 17:25:41 +01:00
Robert Fewell
2f9be87549 Replace tabs with spaces in gncInvoice.c/h
Replace tabs with spaces, trim ending spaces and add spaces to function
calls where appropriate.
2020-05-28 17:25:41 +01:00
Robert Fewell
69aeacb621 Add KVP Association property to GncInvoice 2020-05-28 17:25:41 +01:00
Robert Fewell
1b8cad0086 Change register sheet associations tooltip to use
dialog-assoc-utils functions
2020-05-28 17:25:41 +01:00
Robert Fewell
f31749f490 Display glyphs for Transaction Associations
Display glyphs in the register for transaction associations if a font
has them. A test is made when the register is loaded to see if there is
a font that has the two glyphs available otherwise the usual characters
are used. The two glyphs used are...

GLYPH_PAPERCLIP  // Codepoint U+1F4CE
GLYPH_LINK       // Codepoint U+1F517
2020-05-28 17:25:40 +01:00
Robert Fewell
785a6a8fa6 Add a new cell type for Transaction associations that
supports the use of glyphs
2020-05-28 17:25:40 +01:00
Robert Fewell
260c7b32dc Change the File dialogue for associations
Change the way the user picks a file association from using a
GtkFileChooserWidget to a GtkFileChooserButton so that you will get a
native file dialogue if you have at least Gtk+ version 3.20
2020-05-28 17:25:40 +01:00
Robert Fewell
8723184f4d Change gnc_launch_assoc function
Change gnc_launch_assoc function to use uri functions from
dialog-assoc-utils.c/h
2020-05-28 17:25:40 +01:00
Robert Fewell
e81e95ee59 Change dialog-assoc functions to use ones from dialog-assoc-utils 2020-05-28 17:25:40 +01:00
Robert Fewell
07d46d5d52 Add option to change associations when path head changes
When the path head is changed the associations are not updated so this
change adds a dialog to ask if you want the old relative paths updated
to absolute ones and whether to update existing absolute paths to new
relative ones.
2020-05-28 17:25:40 +01:00
Robert Fewell
7e05d8690a Allow the Transaction Association to be updated from list
Allow the transaction Association to be updated from the list of
associations by double clicking on the selected row column Available.
2020-05-28 17:25:40 +01:00
Robert Fewell
d282e645a7 Bug 797185 - Add Reload button for Transaction associations
Currently to refresh the list the dialog needs to be closed and
re-opened so add a button to reload the model instead. Also added
another button that does a reload and location check in one.
2020-05-28 17:25:40 +01:00
Robert Fewell
1884ae2093 Bug 797185 - Allow sorting on all Transaction Association columns 2020-05-28 17:25:40 +01:00
Robert Fewell
282e456f52 Move the transaction association dialog to dialog-assoc.c/h
The transaction association dialog was all setup from gnc-split-reg but
it seems logical to move all the association source to one file so this
commit does that as well as changing the dialog to be based on a glade
file. The existing toolbar menu entries have changed to Update, Open and
Remove the association.
2020-05-28 17:25:40 +01:00
Robert Fewell
8596763d70 Minor text changes to reflect associated file name changes 2020-05-28 17:25:40 +01:00
Robert Fewell
456c3494ff Rename the trans associate files
Rename the files dialog-trans-assoc.c/h and the glade file to the less
specific form dialog-assoc.c/h so that it can be used for other
associations.
2020-05-28 17:25:40 +01:00
Robert Fewell
890637b2dc Delete Account: Short circuit checks if no transactions or subaccounts
Count of splits and number of children need to be or'd
2020-05-28 12:13:14 +01:00
Robert Fewell
3457dd150b Add file name to dialog used in ofx import 2020-05-28 11:21:04 +01:00
Robert Fewell
8bf426e274 Rename a couple of functions used in multiple OFX file import 2020-05-28 11:20:59 +01:00
Robert Fewell
e69c8a237c Set the reconcile after close button in import-main-matcher
Set the default visibility of the reconcile after close check button
to be hidden and set it so it does not respond to gtk_show_all.
2020-05-28 10:49:56 +01:00
Robert Fewell
2dcc0b7a19 Merge Jean Laroche's branch 'add_multi_ofx_import_master' PR 697 to master 2020-05-28 10:32:32 +01:00
Christopher Lam
4fd5a2cd59 typo fix 2020-05-28 13:35:58 +08:00
John Ralls
de9d6a3339 Delete Account: Use subaccount commodity for subaccount splits.
It might be different from the parent account's. Also check the
commodity, not the currency-or-parent; moving widgets to flidgets
is just as bad as pounds to dollars.
2020-05-27 18:50:35 -07:00
John Ralls
7218bfef37 Delete Account: Short circuit checks if no transactions or subaccounts. 2020-05-27 18:50:34 -07:00
John Ralls
a584806e07 Delete account: Rename and reflow helper functions. 2020-05-27 18:50:34 -07:00
John Ralls
ccdeda4292 Extract function account_delete_dialog. 2020-05-27 18:50:34 -07:00
John Ralls
0af5883d6e Delete Account: Abstract the disposition adopters into a struct.
With functions for the operations done on the members.
2020-05-27 18:50:34 -07:00
John Ralls
1f8dfbac99 Delete Account: Modify strings for single subaccount.
Because we bail out and make the user sort it out if there is more
than one subaccount.
2020-05-27 18:50:34 -07:00
John Ralls
d65a29c4c0 gnc-plugin-page-account-tree.c: delete_account_next fix leaks and whitespace. 2020-05-27 18:50:34 -07:00
John Ralls
ee4f0daa47 Plugin-page-account: Extract function commodity_mismatch_dialog. 2020-05-27 18:50:34 -07:00
John Ralls
2af5d52c4c Merge Jean Laroche's '797220_delete_account_wrong_currency' into master. 2020-05-27 18:49:33 -07:00
John Ralls
fa769090e8 Fix printf arg mismatch, windows build failure. 2020-05-27 11:26:36 -07:00
Robert Fewell
1adbc54865 Change the position the register pop up so it aligns better 2020-05-27 14:43:26 +01:00
Robert Fewell
5de1c6d711 Fix the alignment of the Notes label in Transfer dialog 2020-05-27 14:26:44 +01:00
Robert Fewell
b50acc3ba9 Set horizontal paned position in Lot viewer
Set the initial Split horizontal paned position to be half way when the
window is realized.
2020-05-27 14:19:26 +01:00
Robert Fewell
85e6396dcd Set the expanding column in the lot viewer
Set the expanding columns in the lot viewer to be the 'Title' and the
'Description'. Also ellipsize the description to help with long
transaction descriptions.
2020-05-27 14:08:12 +01:00
Robert Fewell
923b25ffed Change the alignment of the numeric values in the lot viewer
Change the alignment of the numeric columns to be right aligned so the
number align up.
2020-05-27 14:02:02 +01:00
Robert Fewell
c0abdb28d1 Bug 797768 - View Lots sorting numbers not right.
When you try and sort on balance, amount and value the columns are
sorted alphabetically as opposed to numeric value. Fixed by adding
extra double columns to the list store and use them to sort the numeric
columns.
2020-05-27 13:52:27 +01:00