From d3b1da6e56b41dd2bafee8bf2873c09f845f4340 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Wed, 2 Nov 2022 15:07:53 +0000 Subject: [PATCH] Fix missing menu tooltips in the register Re-add the callbacks for the tooltip redirection when the menu items are updated. --- gnucash/gnome/gnc-plugin-page-register.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnucash/gnome/gnc-plugin-page-register.c b/gnucash/gnome/gnc-plugin-page-register.c index 55c8f1cb2d..b9ba64f923 100644 --- a/gnucash/gnome/gnc-plugin-page-register.c +++ b/gnucash/gnome/gnc-plugin-page-register.c @@ -1091,8 +1091,12 @@ gnc_plugin_page_register_ui_update (gpointer various, ++tooltip_iter; } } + // now add the callbacks to the replaced menu items. + gnc_plugin_add_menu_tooltip_callbacks (gnc_window_get_menubar (gnc_window), + gnc_window_get_menubar_model (gnc_window), + gnc_window_get_statusbar (gnc_window)); + // need to add the accelerator keys, currently there are none -//FIXMEb // gnc_add_accelerator_keys_for_menu (gnc_window_get_menubar (gnc_window), // gnc_plugin_page_get_accel_group (GNC_PLUGIN_PAGE(page))); }