mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
replace reload request feature with global update action
This commit is contained in:
parent
9368a2a315
commit
483be18b17
8 changed files with 44 additions and 53 deletions
|
|
@ -4,14 +4,19 @@ mod unsupported;
|
|||
use gemini::Gemini;
|
||||
use unsupported::Unsupported;
|
||||
|
||||
use crate::app::browser::window::Action;
|
||||
use crate::app::browser::action::Action as BrowserAction;
|
||||
use crate::app::browser::window::action::Action as WindowAction;
|
||||
use crate::profile::Profile;
|
||||
use gtk::glib::Uri;
|
||||
use std::rc::Rc;
|
||||
|
||||
/// Create new identity widget for Gemini protocol match given URI
|
||||
pub fn new_gemini(profile: Rc<Profile>, action: Rc<Action>, auth_uri: Uri) -> Gemini {
|
||||
Gemini::new(profile, action, auth_uri)
|
||||
pub fn new_gemini(
|
||||
action: (Rc<BrowserAction>, Rc<WindowAction>),
|
||||
profile: Rc<Profile>,
|
||||
auth_uri: Uri,
|
||||
) -> Gemini {
|
||||
Gemini::new(action, profile, auth_uri)
|
||||
}
|
||||
|
||||
/// Create new identity widget for unknown request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue