feat(script): enable markup support

This commit is contained in:
Jake Stanger 2022-08-14 15:55:20 +01:00
parent c3e354f3e0
commit 19d009fe5b
No known key found for this signature in database
GPG Key ID: C51FC8F9CB0BEA61

View File

@ -20,7 +20,7 @@ const fn default_interval() -> u64 {
impl Module<Label> for ScriptModule {
fn into_widget(self, _info: &ModuleInfo) -> Label {
let label = Label::new(None);
let label = Label::builder().use_markup(true).build();
let (tx, rx) = glib::MainContext::channel(glib::PRIORITY_DEFAULT);
spawn(async move {