mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
draft close all tabs actions
This commit is contained in:
parent
91ad71033a
commit
6801cc6a05
4 changed files with 34 additions and 1 deletions
|
|
@ -59,6 +59,22 @@ impl Browser {
|
|||
}
|
||||
})
|
||||
.build(),
|
||||
ActionEntry::builder("tab_close")
|
||||
.activate({
|
||||
let main = main.clone();
|
||||
move |_, _, _| {
|
||||
main.tab_close();
|
||||
}
|
||||
})
|
||||
.build(),
|
||||
ActionEntry::builder("tab_close_all")
|
||||
.activate({
|
||||
let main = main.clone();
|
||||
move |_, _, _| {
|
||||
main.tab_close_all();
|
||||
}
|
||||
})
|
||||
.build(),
|
||||
ActionEntry::builder("tab_pin")
|
||||
.activate({
|
||||
let main = main.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue