From cac4f878ad9308a6198c78a528dd30522cc9453e Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 10 Nov 2024 08:53:20 +0200 Subject: [PATCH] connect window actions group --- src/app/browser.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/browser.rs b/src/app/browser.rs index 18834547..8a0b20ab 100644 --- a/src/app/browser.rs +++ b/src/app/browser.rs @@ -65,12 +65,15 @@ impl Browser { ], )); - // Connect browser actions to window + // Connect actions widget .gobject() .insert_action_group(action.id(), Some(action.gobject())); - // Connect tab actions to window + widget + .gobject() + .insert_action_group(window.action().id(), Some(window.action().gobject())); + widget.gobject().insert_action_group( window.tab().action().id(), Some(window.tab().action().gobject()),