mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-05 07:54:14 +00:00
update window on step progress
This commit is contained in:
parent
ca74a29ffa
commit
b4d1e4eadc
@ -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 {
|
||||
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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user