mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
draft new tab open on middle click
This commit is contained in:
parent
0d55d492f3
commit
8f1e94dd68
8 changed files with 67 additions and 13 deletions
|
|
@ -41,6 +41,7 @@ impl Page {
|
|||
// Construct
|
||||
pub fn new_arc(
|
||||
name: GString,
|
||||
action_tab_append: Arc<SimpleAction>,
|
||||
action_tab_page_navigation_base: Arc<SimpleAction>,
|
||||
action_tab_page_navigation_history_back: Arc<SimpleAction>,
|
||||
action_tab_page_navigation_history_forward: Arc<SimpleAction>,
|
||||
|
|
@ -54,7 +55,10 @@ impl Page {
|
|||
));
|
||||
|
||||
// Init components
|
||||
let content = Arc::new(Content::new(action_page_open.clone()));
|
||||
let content = Arc::new(Content::new(
|
||||
action_tab_append.clone(),
|
||||
action_page_open.clone(),
|
||||
));
|
||||
let navigation = Navigation::new_arc(
|
||||
action_tab_page_navigation_base.clone(),
|
||||
action_tab_page_navigation_history_back.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue