gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue May 27 18:19:21 EDT 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/68cecd81 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bbe752ab (commit)
	from  https://github.com/Gnucash/gnucash/commit/1b4471d4 (commit)



commit 68cecd8120688995636956ce668e794c74451c84
Merge: 1b4471d4e8 bbe752ab39
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue May 27 14:55:02 2025 -0700

    Merge Oscar Megia's 'develop-bug-648768' into stable.


commit bbe752ab39d2fb7e8b38ee3b0216c4da43a33872
Author: Oscar Megia López <megia.oscar at gmail.com>
Date:   Mon May 26 10:06:47 2025 +0200

    Bug 648768 - Warning "Change Reconciled Split" ...
    
    Grab focus on Cancel button before show dialog.

diff --git a/gnucash/gnome-utils/dialog-utils.c b/gnucash/gnome-utils/dialog-utils.c
index e96e4d77e3..09393ebcdb 100644
--- a/gnucash/gnome-utils/dialog-utils.c
+++ b/gnucash/gnome-utils/dialog-utils.c
@@ -770,6 +770,8 @@ gnc_dialog_run (GtkDialog *dialog, const gchar *pref_name)
     g_signal_connect(perm, "clicked", G_CALLBACK(gnc_perm_button_cb), temp);
 
     /* OK. Present the dialog. */
+    GtkWidget *button_cancel = gtk_dialog_get_widget_for_response(GTK_DIALOG(dialog), GTK_RESPONSE_CANCEL);
+    gtk_widget_grab_focus(button_cancel);
     response = gtk_dialog_run(dialog);
     if ((response == GTK_RESPONSE_NONE) || (response == GTK_RESPONSE_DELETE_EVENT))
     {



Summary of changes:
 gnucash/gnome-utils/dialog-utils.c | 2 ++
 1 file changed, 2 insertions(+)



More information about the gnucash-changes mailing list