mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
connect window actions group
This commit is contained in:
parent
36b86ef5cf
commit
cac4f878ad
@ -65,12 +65,15 @@ impl Browser {
|
|||||||
],
|
],
|
||||||
));
|
));
|
||||||
|
|
||||||
// Connect browser actions to window
|
// Connect actions
|
||||||
widget
|
widget
|
||||||
.gobject()
|
.gobject()
|
||||||
.insert_action_group(action.id(), Some(action.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(
|
widget.gobject().insert_action_group(
|
||||||
window.tab().action().id(),
|
window.tab().action().id(),
|
||||||
Some(window.tab().action().gobject()),
|
Some(window.tab().action().gobject()),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user