Commit Graph

27027 Commits

Author SHA1 Message Date
Marco Scardovi
6fe2028bca
Fix test
Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
2022-11-24 23:20:07 +01:00
Robert Fewell
59d95a4ce6 Bug 798545 - Crash when updating document link on vendor bill
There were two issues here, the first one was that the copied doclink
was pointing to the original doclink which lead to a double-free. The
second is the setting of the doclink on the copied invoice needs to be
done with gncInvoiceSetDocLink otherwise on closure the doclink value
will disappear.
2022-11-24 11:16:01 +00:00
Robert Fewell
80f1101447 Bug 760274 - The Statusbar "forgets" when register doesn't have focus
Only update the status bar if the current page is the same as the
register page.
2022-11-24 10:12:29 +00:00
Robert Fewell
f93da32dfc Add missing gtk_tree_path_free to gnucash-item-list.c 2022-11-24 10:02:28 +00:00
Robert Fewell
1554ec6c0f Add missing gtk_tree_path_free to gnc-plugin-budget.c 2022-11-24 10:01:43 +00:00
Christopher Lam
f13cfa2142 Merge branch 'maint-budget' into maint #1468 2022-11-23 08:30:34 +08:00
Kaligula
af34ee3f54
Translation update by Kaligula <kaligula.dev@gmail.com> using Weblate
po/pl.po: 71.2% (3846 of 5401 strings; 1096 fuzzy)
255 failing checks (4.7%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Kaligula <kaligula.dev@gmail.com>
2022-11-20 12:48:03 +01:00
Christopher Lam
120758f519 [assistant-stock-transaction] from Bug 798004 cash to offset fee 2022-11-20 18:16:10 +08:00
Christopher Lam
c6611a40bb [ifrs-report] From Bug 798004 allow Cr cash to offset Dr fee
and remove invalid "dividend reinvestment" during short.
2022-11-20 18:16:00 +08:00
Kaligula
13895e1734
Translation update by Kaligula <kaligula.dev@gmail.com> using Weblate
po/pl.po: 71.0% (3840 of 5401 strings; 1096 fuzzy)
255 failing checks (4.7%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Kaligula <kaligula.dev@gmail.com>
2022-11-19 22:47:46 +01:00
Christopher Lam
3d8a28898d [gnc-budget] gnc_budget_get_account_period_note returns a const
to harmonize with all other char getters
2022-11-19 10:35:49 +08:00
Christopher Lam
2ee0c98200 [gnc-budget] use operator[] instead of find() and insert()
- avoid hashing Account* twice. one call to operator[] is sufficient.
- don't need use std::move with better constructors
- sanity check - can't have a budget with num_periods = 0
- remove unused headers
2022-11-19 10:35:43 +08:00
Frank H. Ellenberger
7992fd0e9b Merge branch PR #1465 into maint 2022-11-18 01:01:29 +01:00
Vesna Micajkova
a04ee108ec
Translation update by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate
po/glossary/mk.po: 82.5% (175 of 212 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/mk/

Translation update  by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate

po/mk.po: 1.6% (87 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mk/

Co-authored-by: Vesna Micajkova <vmicajkova@institutpraktikum.mk>
2022-11-17 11:47:08 +01:00
Vesna Micajkova
bddd603063
Translation update by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate
po/mk.po: 1.5% (85 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mk/

Translation update  by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate

po/glossary/mk.po: 74.5% (158 of 212 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/mk/

Translation update  by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate

po/mk.po: 1.3% (72 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mk/

Translation update  by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate

po/glossary/mk.po: 31.6% (67 of 212 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/mk/

Translation update  by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate

po/mk.po: 0.3% (18 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mk/

Co-authored-by: Vesna Micajkova <vmicajkova@institutpraktikum.mk>
2022-11-15 16:48:07 +01:00
Christopher Lam
3e5fcc8709 Merge branch 'maint' 2022-11-15 22:20:54 +08:00
luz paz
0be8e05a1b Fix typos and whitespace in test 2022-11-14 12:57:50 -05:00
Kaligula
f8c5f51b75
Translation update by Kaligula <kaligula.dev@gmail.com> using Weblate
po/pl.po: 66.0% (3570 of 5401 strings; 1320 fuzzy)
401 failing checks (7.4%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Kaligula <kaligula.dev@gmail.com>
2022-11-13 03:15:29 +01:00
Kaligula
97df6aacab
Translation update by Kaligula <kaligula.dev@gmail.com> using Weblate
po/pl.po: 66.0% (3569 of 5401 strings; 1321 fuzzy)
402 failing checks (7.4%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Translation update  by Kaligula <kaligula.dev@gmail.com> using Weblate

po/pl.po: 63.3% (3419 of 5401 strings; 1471 fuzzy)
555 failing checks (10.2%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Translation update  by Kaligula <kaligula.dev@gmail.com> using Weblate

po/glossary/pl.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pl/

Translation update  by Kaligula <kaligula.dev@gmail.com> using Weblate

po/pl.po: 63.3% (3419 of 5401 strings; 1471 fuzzy)
590 failing checks (10.9%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Kaligula <kaligula.dev@gmail.com>
2022-11-12 03:49:19 +01:00
Vesna Micajkova
e62eb5443e
Translation update by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate
po/glossary/mk.po: 2.8% (6 of 212 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/mk/

Co-authored-by: Vesna Micajkova <vmicajkova@institutpraktikum.mk>
2022-11-12 03:49:18 +01:00
Robert Fewell
73ccb1c0ad Change the size for the dialog account commodity
When displaying a label for the commodity, set the size of the gtk box
to be based on the the size of the name_entry so it looks better.
2022-11-11 14:40:14 +00:00
Robert Fewell
00becc6177 Bug769256 - Change New Account Dialog
This commit changes the account type field from a tree view to a combo
and rearranges the fields to aid in flow.
2022-11-11 13:04:29 +00:00
Christopher Lam
e30c1fce70 gtk_tree_model_get will allocate char* which must be g_freed. 2022-11-10 22:00:00 +08:00
Julien Bartels
020934c3a4 L10N:DE:Updating accounts from 0001 to 8000 DATEV-SKR04 2022-01-01
type="new"
2022-11-10 13:38:07 +01:00
Frank H. Ellenberger
aedc0cc196 L10N: Prepare macedonian (mk) 2022-11-08 03:11:08 +01:00
Christopher Lam
60c5e20084 [import-main-matcher] bug: test str from the string hash provided
...instead of the description string hash.
2022-11-07 11:49:51 +08:00
Robert Fewell
cc91c7d3c6 Remove surplus function recnWindow_add_widget 2022-11-06 12:50:27 +00:00
Robert Fewell
f16f3f67eb Remove gnc-reconcile-window-ui.xml 2022-11-06 12:50:27 +00:00
Robert Fewell
1890c6ccfb Reimplement macOS menubar for reconcile window 2022-11-06 12:50:27 +00:00
Robert Fewell
e6b95f011d Remove depreciated GtkUIManager and friends from Reconcile window 2022-11-06 12:50:27 +00:00
Robert Fewell
48e5ce87eb Fix missing g_free for the main window 'res_name'. 2022-11-06 12:50:27 +00:00
Robert Fewell
bfaecdffa8 Refactor the adding of the tooltips to the report menu items 2022-11-06 12:50:27 +00:00
Robert Fewell
86f6528d0a Need to free the GncMainWindowActionData
When hash table item_hash is destroyed, the GncMainWindowActionData
structures need to be freed.
2022-11-06 12:50:27 +00:00
Robert Fewell
6e8e5b760a Move gnc_plugin_page_get_simple_action_group in source file. 2022-11-05 17:04:12 +00:00
Robert Fewell
4fc12837c1 Remove all references to 'page-uri' for plugin pages
Do not think it is required.
2022-11-05 17:04:12 +00:00
Robert Fewell
4fd868f89e Add a couple of changes dealing with GtKBuilder object 2022-11-05 17:04:12 +00:00
Robert Fewell
007f5fbcdd Add a couple of descriptions to plugin functions
Add a couple of descriptions to plugin functions and also
change to use container for each for tool bar tooltip
add callbacks function.
2022-11-05 17:04:12 +00:00
Robert Fewell
7cc870aac0 Remove some unused variables 2022-11-05 17:04:12 +00:00
Robert Fewell
e16217a219 Fix the file print menu item
Create a placeholder for the file print item as the label can change
for different pages. Also fix the sensitivity depending on page.
2022-11-05 17:04:12 +00:00
Robert Fewell
bf648f6ed5 Update some function descriptions 2022-11-05 17:04:12 +00:00
Robert Fewell
58805c2a40 Remove actions_name from plugin page as not required. 2022-11-05 17:04:12 +00:00
Robert Fewell
04a56f6c28 Remove tracking GtkAccelGroup from plugin page as not required 2022-11-05 17:04:12 +00:00
Robert Fewell
d3b1da6e56 Fix missing menu tooltips in the register
Re-add the callbacks for the tooltip redirection when the menu items
are updated.
2022-11-05 17:04:12 +00:00
Robert Fewell
37a9721bf2 Fix updating of the menu for invoice, bill and expense
Change the updating of the main window menu items from the GtkMenu item
to the GMenuModel as this will allow the tooltips to be picked up for
showing in the status bar.
2022-11-05 17:04:12 +00:00
Robert Fewell
1f8f1c3679 Fix updating of the menu for the configuration items
Change the updating of the main window menu items from the GtkMenu item
to the GMenuModel as this will allow the tooltips to be picked up for
showing in the status bar.
2022-11-05 17:04:12 +00:00
Robert Fewell
959c870f03 Add some main window function descriptions 2022-11-05 17:04:12 +00:00
Robert Fewell
79285097ff Rename gnc_main_window_update_menu
Rename the main windoe function gnc_main_window_update_menu to
gnc_main_window_update_menu_and_toolbar as it deals with the menu and
toolbar
2022-11-05 17:04:12 +00:00
Robert Fewell
d6ae799e74 Remove a couple of unused functions 2022-11-05 17:04:12 +00:00
Robert Fewell
5c498a1c9b Rename gnc_main_window_menu_item_vis_by_action
Rename the main window function gnc_main_window_menu_item_vis_by_action
to gnc_main_window_set_vis_of_items_by_action as it deals with menu and
toolbar items.
2022-11-05 17:04:12 +00:00
Robert Fewell
e00bcf581d Add function description for gnc_main_window_menu_find_menu_item 2022-11-05 17:04:12 +00:00