change response class

This commit is contained in:
yggverse 2024-11-28 18:15:57 +02:00
parent b48eb0a3c2
commit 7420ce8606

View File

@ -82,7 +82,7 @@ impl File {
None => todo!(), None => todo!(),
}, },
Err(reason) => { Err(reason) => {
gobject.set_css_classes(&["error"]); gobject.set_css_classes(&["warning"]);
gobject.set_label(reason.message()) gobject.set_label(reason.message())
} }
} }