implement new tab position enum

This commit is contained in:
yggverse 2024-11-11 19:28:39 +02:00
parent 57cdc4cee9
commit 23e4e83e45
6 changed files with 89 additions and 44 deletions

View file

@ -4,7 +4,9 @@ mod widget;
use tag::Tag;
use widget::Widget;
use crate::app::browser::window::{tab::item::Action as TabAction, Action as WindowAction};
use crate::app::browser::window::{
action::Position, tab::item::Action as TabAction, Action as WindowAction,
};
use adw::StyleManager;
use gemtext::line::{
code::Code,
@ -283,7 +285,7 @@ impl Reader {
"gemini" => {
// Open new page in browser
actions.0.append().activate_stateful_once(
None,
Position::After,
Some(uri.to_string()),
false,
false,