mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
add pin action to context menu
This commit is contained in:
parent
2aed6691b9
commit
998f51e0fc
4 changed files with 30 additions and 18 deletions
|
|
@ -147,8 +147,8 @@ impl Browser {
|
|||
|
||||
action_page_home.connect_activate({
|
||||
let window = window.clone();
|
||||
move |_, _| {
|
||||
window.tab_page_navigation_home();
|
||||
move |this, _| {
|
||||
window.tab_page_navigation_home(page_position_from_action_state(this));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -173,8 +173,8 @@ impl Browser {
|
|||
|
||||
action_page_pin.connect_activate({
|
||||
let window = window.clone();
|
||||
move |_, _| {
|
||||
window.tab_pin();
|
||||
move |this, _| {
|
||||
window.tab_pin(page_position_from_action_state(this));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue