implement recent bookmarks menu item

This commit is contained in:
yggverse 2025-01-12 00:38:22 +02:00
parent c335207b28
commit 9e86e9b29f
13 changed files with 155 additions and 60 deletions

View file

@ -26,11 +26,11 @@ impl Bar {
) -> Self {
let control = Control::new();
let tab = Tab::new(window_action, view);
let menu = Menu::new((browser_action, window_action), profile);
let menu = Rc::new(Menu::new((browser_action, window_action), profile));
Self {
widget: Rc::new(Widget::new(
&control.widget.gobject,
&menu.widget.gobject,
&control.window_controls,
&menu.menu_button,
&tab.widget.tab_bar,
)),
}