mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
implement new tab position enum
This commit is contained in:
parent
57cdc4cee9
commit
23e4e83e45
6 changed files with 89 additions and 44 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue