Commit Graph

27981 Commits

Author SHA1 Message Date
Richard Cohen
f3b3fa39d1 Refactor: DECLARE_FINAL GncSxInstanceDenseCalAdapter < GObject 2023-06-27 12:36:47 +01:00
Richard Cohen
39352101ae Refactor: DECLARE_FINAL GncReportCombo < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
ff9ee95096 Refactor: DECLARE_FINAL GncRecurrence < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
734e9184e4 Refactor: DECLARE_FINAL GncPluginManager < GObject 2023-06-27 12:36:47 +01:00
Richard Cohen
df874225c0 Refactor: DECLARE_FINAL GncPeriodSelect < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
1fa45a352a Refactor: DECLARE_FINAL GncFrequency < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
1540a645fc Refactor: DECLARE_FINAL GncEmbeddedWindow < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
6a2c05a0f6 Refactor: DECLARE_FINAL GncDenseCalStore < GObject 2023-06-27 12:36:47 +01:00
Richard Cohen
2ffc37b675 Refactor: DECLARE_FINAL GncDenseCal < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
ceb21a6ace Refactor: DECLARE_FINAL GNCDateFormat < GtkBox 2023-06-27 12:36:47 +01:00
Richard Cohen
33e08df849 Refactor: DECLARE_FINAL GNCCurrencyEdit < GtkComboBox 2023-06-27 12:36:47 +01:00
Richard Cohen
e2e2adde96 Refactor: DECLARE_FINAL GncCellRendererTextView < GtkCellRendererText 2023-06-27 12:36:46 +01:00
Richard Cohen
4e3a57bea5 Refactor: DECLARE_FINAL GncCellRendererTextFlag < GtkCellRendererText 2023-06-27 12:36:46 +01:00
Richard Cohen
8115ecca88 Refactor: DECLARE_FINAL GNCAmountEdit < GtkBox 2023-06-27 12:36:46 +01:00
Richard Cohen
8f38f44239 Refactor: DECLARE_FINAL GNCAccountSel < GtkBox 2023-06-27 12:36:46 +01:00
Richard Cohen
4191c6a859 Refactor: remove unused GncRecurrenceComp 2023-06-27 12:36:46 +01:00
Richard Cohen
5b80ae0f51 Refactor: hide implementation of GOOptionMenu (move from .h -> .c) 2023-06-27 10:55:05 +01:00
Richard Cohen
aa638ccc03 Refactor: DECLARE_FINAL GOOptionMenu < GtkButton 2023-06-27 10:38:47 +01:00
Richard Cohen
02a9cf6ec3 Refactor: DECLARE_FINAL GOCharmapSel < GtkBox 2023-06-27 10:38:47 +01:00
Christopher Lam
fa3043a631 g_menu_item_new must be g_object_unreffed
Although gnome API usually insertions usually take ownership of the child
element, in this case the GMenuItem attributes are copied into the
GMenu.

From https://docs.gtk.org/gio/method.Menu.insert_item.html --

* Description

Inserts item into menu.

The “insertion” is actually done by copying all of the attribute and
link values of item and using them to form a new item within menu. As
such, item itself is not really inserted, but rather, a menu item that
is exactly the same as the one presently described by item.

This means that item is essentially useless after the insertion
occurs. Any changes you make to it are ignored unless it is inserted
again (at which point its updated values will be copied).

You should probably just free item once you’re done.

There are many convenience functions to take care of common cases. See
g_menu_insert(), g_menu_insert_section() and g_menu_insert_submenu()
as well as “prepend” and “append” variants of each of these functions.

Available since: 2.32
2023-06-27 08:56:09 +08:00
Christopher Lam
ff10b1d314 g_menu_model_iterate_item_attributes must be g_object_unreffed 2023-06-27 08:56:09 +08:00
John Ralls
aba64c9762 Fix nl.po. 2023-06-26 09:32:10 -07:00
John Ralls
e57d778992 Merge latest translations from Weblate. 2023-06-26 09:19:11 -07:00
John Ralls
0b3d3a5a68 Release GnuCash 5.3. 2023-06-26 09:04:59 -07:00
Yuri Chornoivan
8b13212005
Translation update by Yuri Chornoivan <yurchor@ukr.net> using Weblate
po/uk.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/
2023-06-26 18:00:39 +02:00
Andrea Andre
3535a0c7cf
Translation update by Andrea Andre <andrea.tsg19@slmail.me> using Weblate
po/ro.po: 47.8% (2642 of 5523 strings; 1941 fuzzy)
743 failing checks (13.4%)
Translation: GnuCash/Program (Romanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ro/
2023-06-26 18:00:37 +02:00
Stephan Paternotte
2782efc18d
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
po/nl.po: 93.2% (5152 of 5523 strings; 250 fuzzy)
96 failing checks (1.7%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/
2023-06-26 18:00:35 +02:00
Giuseppe Foti
b43efa6441
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
po/it.po: 95.1% (5257 of 5523 strings; 175 fuzzy)
72 failing checks (1.3%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/
2023-06-26 18:00:33 +02:00
mocsa
f97279619d
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 69.4% (3833 of 5523 strings; 635 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
2023-06-26 18:00:30 +02:00
Francisco
79b8840754
Translation update by Francisco <fhiegom@outlook.es> using Weblate
po/es.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
4 failing checks (0.1%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
2023-06-26 18:00:28 +02:00
John Ralls
5798d31105 Merge latest translations from Weblate. 2023-06-26 08:58:19 -07:00
Simon Arlott
29b6ecc6df
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_NZ.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (New Zealand))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_NZ/

Translation update  by Simon Arlott <weblate.simon@arlott.org> using Weblate

po/en_AU.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (Australia))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_AU/

Translation update  by Simon Arlott <weblate.simon@arlott.org> using Weblate

po/en_GB.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (United Kingdom))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/

Co-authored-by: Simon Arlott <weblate.simon@arlott.org>
2023-06-26 14:37:36 +02:00
Stephan Paternotte
028e2000ea
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
po/nl.po: 93.1% (5146 of 5523 strings; 255 fuzzy)
95 failing checks (1.7%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 92.3% (5103 of 5523 strings; 286 fuzzy)
110 failing checks (1.9%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

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

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 91.3% (5043 of 5523 strings; 318 fuzzy)
127 failing checks (2.2%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2023-06-26 14:37:34 +02:00
Giuseppe Foti
274bc6fc15
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
po/it.po: 91.9% (5080 of 5523 strings; 300 fuzzy)
135 failing checks (2.4%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/it.po: 91.7% (5065 of 5523 strings; 306 fuzzy)
136 failing checks (2.4%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Co-authored-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2023-06-26 14:37:33 +02:00
Pedro Albuquerque
e227f05747
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/pt.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/

Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2023-06-26 14:37:33 +02:00
Christopher Lam
2f0577fb34 gtk_text_buffer_get_text returns a char* which must be g_freed 2023-06-26 20:35:14 +08:00
Stephan Paternotte
e342b6261d
Translation update by Stephan Paternotte <stephan@paternottes.net> using Weblate
po/nl.po: 92.3% (5103 of 5523 strings; 286 fuzzy)
110 failing checks (1.9%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

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

Translation update  by Stephan Paternotte <stephan@paternottes.net> using Weblate

po/nl.po: 91.3% (5043 of 5523 strings; 318 fuzzy)
127 failing checks (2.2%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: Stephan Paternotte <stephan@paternottes.net>
2023-06-26 11:53:52 +02:00
Giuseppe Foti
9bebe07b16
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
po/it.po: 91.9% (5080 of 5523 strings; 300 fuzzy)
135 failing checks (2.4%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/it.po: 91.7% (5065 of 5523 strings; 306 fuzzy)
136 failing checks (2.4%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Co-authored-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2023-06-26 11:53:51 +02:00
Pedro Albuquerque
903ae89b39
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/pt.po: 100.0% (5523 of 5523 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/

Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2023-06-26 11:53:50 +02:00
John Ralls
eefaeb53ea Merge Vincent Dawans's 'bug798967-cannot-save' into stable. 2023-06-25 19:50:00 -07:00
Vincent Dawans
e0e13604b5 Bug 798967 - Cannot Save to Any Path After Upgrading to 5.2
Fix inverted if statement condition for save success flag
2023-06-25 18:50:58 -07:00
Christopher Lam
0e951339fa [gnc-plugin-page.c] unref builder if allocated
It would have been allocated in gnc_plugin_page_merge_actions from
gtk_builder_new()
2023-06-26 07:37:49 +08:00
John Ralls
c13f4f713f Merge latest translations from Weblate. 2023-06-25 15:11:52 -07:00
Christopher Lam
683c7f614d [reports] modernisation - use define* for optional arguments 2023-06-25 23:24:07 +08:00
Simon Arlott
dcd33f577c
Bug 797507 - GnuCash Splash screen may disappear before the main window appears
Bug 339876 complains that the splash screen is useless because the desktop
environment should indicate that the application is loading. This is only
partly true because the desktop environment can't indicate the progress
made when the application takes several seconds to load. There is now a
preference to disable the splash screen.

Bug 350993 states that the splash screen should remain until the main
window is completely ready (which it currently does). There's also a
complaint that the splash screen is annoying because it obscures other
windows. The solution to this would be to allow it to be moved or minimise
it.

Bug 366418 asks for the splash screen to disappear when clicked, without
really explaining why (except that other applications can do it). This is
the current implementation.

Clicking the splash screen is effectively a temporary "disable splash
screen" because it closes it. This avoids the "obscures other windows"
problem but it makes it unclear what is going on because it actively works
against the desktop environment by making it appear as if the application
has exited.

We can avoid that problem by minimising the splash screen instead of
closing it. This is primarily a splash screen not a loading screen (and it
can't be aborted, despite what closing it might imply). Without a redesign
it will look odd for it to have a title bar.

Minimise the splash screen when clicked instead of closing it early. It
will then be possible to restore the splash screen window instead of
losing it completely.
2023-06-25 11:59:52 +01:00
Christopher Lam
bba1842e09 [dialog-totd.c] g_free a 6k char* 2023-06-25 17:01:38 +08:00
Vincent Dawans
5fa8a8a1e2
Translation update by Vincent Dawans <dawansv@gmail.com> using Weblate
po/fr.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
4 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
2023-06-25 05:39:52 +02:00
Szia Tomi
dc988d1a46
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 69.4% (3833 of 5522 strings; 635 fuzzy)
33 failing checks (0.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-06-25 00:52:18 +02:00
John Ralls
4bba18271b Release GnuCash 5.2 2023-06-24 14:47:28 -07:00
John Ralls
3ab144e534 Remove non-existant file from dist list. 2023-06-24 14:47:28 -07:00