summaryrefslogtreecommitdiff
path: root/src/gui/menus/menubar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/menus/menubar.c')
-rw-r--r--src/gui/menus/menubar.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/menus/menubar.c b/src/gui/menus/menubar.c
index e2ad155..dbfb995 100644
--- a/src/gui/menus/menubar.c
+++ b/src/gui/menus/menubar.c
@@ -257,6 +257,10 @@ GEditorItem *g_menu_bar_new(GObject *ref, GtkAccelGroup *accgroup)
result->help = build_menu_help(ref, accgroup);
gtk_container_add(GTK_CONTAINER(item->widget), result->help);
+ /* Finalisation générique */
+
+ notify_focus_change_for_menu_bar(result, NULL);
+
return G_EDITOR_ITEM(result);
}
@@ -317,6 +321,10 @@ static void notify_focus_change_for_menu_bar(GMenuBar *bar, GtkViewPanel *panel)
update_access_in_menu_edition(item->ref, panel, addr);
+ update_access_in_menu_view(item->ref, panel);
+
+ update_access_in_menu_binary(item->ref, panel);
+
if (line != NULL)
g_object_unref(G_OBJECT(line));