mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add new tab item action group, delegate history handle to action implementation
This commit is contained in:
parent
5145a53bfa
commit
913030a955
29 changed files with 409 additions and 232 deletions
|
|
@ -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(),
|
||||
),
|
||||
],
|
||||
));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue