From 963efd8793e42626ed53e4e177a337a5fcdaa868 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 30 Jan 2025 17:23:27 +0200 Subject: [PATCH] remove unstable feature --- .../navigation/request/identity/common/form/file.rs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/app/browser/window/tab/item/page/navigation/request/identity/common/form/file.rs b/src/app/browser/window/tab/item/page/navigation/request/identity/common/form/file.rs index 1f0dbdc8..a3fbee8e 100644 --- a/src/app/browser/window/tab/item/page/navigation/request/identity/common/form/file.rs +++ b/src/app/browser/window/tab/item/page/navigation/request/identity/common/form/file.rs @@ -1,7 +1,7 @@ use super::WidgetAction; use gtk::{ gio::{Cancellable, ListStore, TlsCertificate}, - glib::{gformat, timeout_add_seconds_local_once, GString}, + glib::{gformat, GString}, prelude::{ButtonExt, FileExt, TlsCertificateExt, WidgetExt}, Button, FileDialog, FileFilter, Window, }; @@ -90,17 +90,6 @@ impl File { } button.set_sensitive(true); // unlock 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) - } - }); } }); }