handle bookmark toggle action results

This commit is contained in:
yggverse 2024-11-14 12:48:58 +02:00
parent a0c52f2ede
commit 0b44303023
6 changed files with 42 additions and 11 deletions

View file

@ -49,8 +49,12 @@ impl Window {
action.bookmark().connect_activate({
let tab = tab.clone();
move |position| tab.bookmark(position)
}); // @TODO
move |position| {
if tab.bookmark(position).is_err() {
todo!()
}
}
});
action.pin().connect_activate({
let tab = tab.clone();