mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
reorganize request routing
This commit is contained in:
parent
d87057a544
commit
b6e1ae4e6a
11 changed files with 329 additions and 527 deletions
|
|
@ -23,7 +23,7 @@ use crate::tool::now;
|
|||
use gtk::{
|
||||
gdk::Texture,
|
||||
gdk_pixbuf::Pixbuf,
|
||||
glib::{gformat, GString, Priority, Uri},
|
||||
glib::{GString, Priority, Uri},
|
||||
prelude::{EditableExt, FileExt},
|
||||
};
|
||||
use sqlite::Transaction;
|
||||
|
|
@ -307,7 +307,7 @@ impl Page {
|
|||
.request
|
||||
.widget
|
||||
.entry
|
||||
.set_text(&request.uri().unwrap().to_string())} // @TODO handle
|
||||
.set_text(&request.as_uri().to_string())} // @TODO handle
|
||||
}
|
||||
Response::TextGemini { base, source, is_source_request } => {
|
||||
let widget = if is_source_request {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue