mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
integrate bookmark action
This commit is contained in:
parent
c279576ee2
commit
3db4c2c6be
9 changed files with 163 additions and 20 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue