mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
begin request entry refactory
This commit is contained in:
parent
5255708be3
commit
e7bd5bbdc6
24 changed files with 351 additions and 849 deletions
14
src/app.rs
14
src/app.rs
|
|
@ -32,12 +32,10 @@ impl App {
|
|||
// Init components
|
||||
let browser = Rc::new(Browser::build(profile));
|
||||
|
||||
// Init events
|
||||
application.connect_activate({
|
||||
let browser = browser.clone();
|
||||
move |_| browser.update()
|
||||
});
|
||||
// Prevent startup warning @TODO
|
||||
application.connect_activate(|_| {});
|
||||
|
||||
// Init events
|
||||
application.connect_startup({
|
||||
let browser = browser.clone();
|
||||
let profile = profile.clone();
|
||||
|
|
@ -150,11 +148,7 @@ impl App {
|
|||
&["<Primary>i"],
|
||||
),
|
||||
(
|
||||
format!(
|
||||
"{}.{}",
|
||||
browser.action.id,
|
||||
browser.action.escape.simple_action.name()
|
||||
),
|
||||
format!("{}.{}", browser.action.id, browser.action.escape.name()),
|
||||
&["Escape"],
|
||||
),
|
||||
// Tab actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue