Browse Source

update window on step progress

master
yggverse 2 months ago
parent
commit
b4d1e4eadc
  1. 7
      src/browser/main/tab/page/mod.rs

7
src/browser/main/tab/page/mod.rs

@ -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) => {

Loading…
Cancel
Save