mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
add bookmarks limit option
This commit is contained in:
parent
ce14920d23
commit
1c4bde4004
3 changed files with 9 additions and 5 deletions
|
|
@ -207,7 +207,7 @@ impl Menu for MenuButton {
|
|||
move |_| {
|
||||
// Bookmarks
|
||||
main_bookmarks.remove_all();
|
||||
for bookmark in profile.bookmark.recent() {
|
||||
for bookmark in profile.bookmark.recent(None) {
|
||||
let menu_item = gio::MenuItem::new(Some(&ellipsize(&bookmark.request, LABEL_MAX_LENGTH)), None);
|
||||
menu_item.set_action_and_target_value(Some(&format!(
|
||||
"{}.{}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue