|
|
|
@ -7,7 +7,10 @@ use navigation::Navigation;
@@ -7,7 +7,10 @@ use navigation::Navigation;
|
|
|
|
|
use gtk::{ |
|
|
|
|
gio::{Cancellable, SocketClient, SocketProtocol, TlsCertificateFlags}, |
|
|
|
|
glib::{GString, Priority, Regex, RegexCompileFlags, RegexMatchFlags, Uri, UriFlags}, |
|
|
|
|
prelude::{BoxExt, IOStreamExt, InputStreamExtManual, OutputStreamExtManual, SocketClientExt}, |
|
|
|
|
prelude::{ |
|
|
|
|
BoxExt, IOStreamExt, InputStreamExtManual, OutputStreamExtManual, SocketClientExt, |
|
|
|
|
WidgetExt, |
|
|
|
|
}, |
|
|
|
|
Box, Orientation, |
|
|
|
|
}; |
|
|
|
|
use std::{cell::RefCell, sync::Arc}; |
|
|
|
@ -81,6 +84,8 @@ impl Page {
@@ -81,6 +84,8 @@ impl Page {
|
|
|
|
|
self.meta.borrow_mut().mime = Mime::Undefined; |
|
|
|
|
self.meta.borrow_mut().progress_fraction = 0.0; |
|
|
|
|
|
|
|
|
|
let _ = self.widget.activate_action("win.update", None); |
|
|
|
|
|
|
|
|
|
/*let _uri = */ |
|
|
|
|
match Uri::parse(&request_text, UriFlags::NONE) { |
|
|
|
|
Ok(uri) => { |
|
|
|
|