mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
remove unstable feature
This commit is contained in:
parent
1c400fdd23
commit
963efd8793
1 changed files with 1 additions and 12 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
use super::WidgetAction;
|
use super::WidgetAction;
|
||||||
use gtk::{
|
use gtk::{
|
||||||
gio::{Cancellable, ListStore, TlsCertificate},
|
gio::{Cancellable, ListStore, TlsCertificate},
|
||||||
glib::{gformat, timeout_add_seconds_local_once, GString},
|
glib::{gformat, GString},
|
||||||
prelude::{ButtonExt, FileExt, TlsCertificateExt, WidgetExt},
|
prelude::{ButtonExt, FileExt, TlsCertificateExt, WidgetExt},
|
||||||
Button, FileDialog, FileFilter, Window,
|
Button, FileDialog, FileFilter, Window,
|
||||||
};
|
};
|
||||||
|
|
@ -90,17 +90,6 @@ impl File {
|
||||||
}
|
}
|
||||||
button.set_sensitive(true); // unlock
|
button.set_sensitive(true); // unlock
|
||||||
widget_action.update.activate();
|
widget_action.update.activate();
|
||||||
|
|
||||||
// Renew button with timeout
|
|
||||||
timeout_add_seconds_local_once(1, {
|
|
||||||
let button = button.clone();
|
|
||||||
move || {
|
|
||||||
button.remove_css_class("error");
|
|
||||||
button.remove_css_class("success");
|
|
||||||
button.remove_css_class("warning");
|
|
||||||
button.set_label(LABEL)
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue