1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-18 07:11:04 +02:00

Revert "Fix Pango markup not escaped"

This commit is contained in:
Jake Stanger 2024-06-02 17:42:18 +01:00 committed by GitHub
parent 0085e51ff6
commit a9a32817e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 23 additions and 40 deletions

View file

@ -1,5 +1,4 @@
use crate::config::CommonConfig;
use crate::gtk_helpers::IronbarLabelExt;
use crate::modules::{Module, ModuleInfo, ModuleParts, ModuleUpdateEvent, WidgetContext};
use crate::script::{OutputStream, Script, ScriptMode};
use crate::{glib_recv, module_impl, spawn, try_send};
@ -104,7 +103,7 @@ impl Module<Label> for ScriptModule {
{
let label = label.clone();
glib_recv!(context.subscribe(), s => label.set_markup_escaped(s.as_str()));
glib_recv!(context.subscribe(), s => label.set_markup(s.as_str()));
}
Ok(ModuleParts {