add new tab item action group, delegate history handle to action implementation

This commit is contained in:
yggverse 2025-01-25 17:28:05 +02:00
parent 5145a53bfa
commit 913030a955
29 changed files with 409 additions and 232 deletions

View file

@ -37,17 +37,22 @@ impl Browser {
let widget = Rc::new(Widget::new(
&window.widget.g_box,
&[
// Connect action groups (to apply accels)
// action groups
(
// Browser
// browser
&action.id,
action.simple_action_group.clone(),
),
(
// Window
// window
&window.action.id,
window.action.simple_action_group.clone(),
),
(
// tab
&window.tab.action.id,
window.tab.action.simple_action_group.clone(),
),
],
));