integrate bookmark action

This commit is contained in:
yggverse 2024-11-12 18:02:35 +02:00
parent c279576ee2
commit 3db4c2c6be
9 changed files with 163 additions and 20 deletions

View file

@ -24,7 +24,18 @@ impl Menu {
)),
);
main.append(
let main_mark = gtk::gio::Menu::new();
main_mark.append(
Some("Bookmark"),
Some(&format!(
"{}.{}",
window_action.id(),
window_action.bookmark().id()
)),
);
main_mark.append(
Some("Pin"),
Some(&format!(
"{}.{}",
@ -33,6 +44,8 @@ impl Menu {
)),
);
main.append_section(None, &main_mark);
let navigation = gtk::gio::Menu::new();
navigation.append(