mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
insert new tab after current on middle click
This commit is contained in:
parent
29588c0d0b
commit
18d0da99f2
5 changed files with 18 additions and 6 deletions
|
|
@ -35,6 +35,7 @@ impl Item {
|
|||
action_tab_page_navigation_reload: Arc<SimpleAction>,
|
||||
action_update: Arc<SimpleAction>,
|
||||
// Options
|
||||
position: Option<i32>,
|
||||
is_pinned: bool,
|
||||
is_selected: bool,
|
||||
) -> Arc<Self> {
|
||||
|
|
@ -58,6 +59,7 @@ impl Item {
|
|||
tab_view,
|
||||
page.gobject(),
|
||||
None,
|
||||
position,
|
||||
is_pinned,
|
||||
is_selected,
|
||||
); // @TODO
|
||||
|
|
@ -149,6 +151,7 @@ impl Item {
|
|||
action_tab_page_navigation_reload.clone(),
|
||||
action_update.clone(),
|
||||
// Options
|
||||
None,
|
||||
record.is_pinned,
|
||||
record.is_selected,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue