mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
update window on step progress
This commit is contained in:
parent
ca74a29ffa
commit
b4d1e4eadc
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue