mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
Revert "Fix Pango markup not escaped"
This commit is contained in:
parent
0085e51ff6
commit
a9a32817e0
14 changed files with 23 additions and 40 deletions
|
@ -1,6 +1,5 @@
|
|||
use crate::config::CommonConfig;
|
||||
use crate::dynamic_value::dynamic_string;
|
||||
use crate::gtk_helpers::IronbarLabelExt;
|
||||
use crate::modules::{Module, ModuleInfo, ModuleParts, ModuleUpdateEvent, WidgetContext};
|
||||
use crate::{glib_recv, module_impl, try_send};
|
||||
use color_eyre::Result;
|
||||
|
@ -62,7 +61,7 @@ impl Module<Label> for LabelModule {
|
|||
|
||||
{
|
||||
let label = label.clone();
|
||||
glib_recv!(context.subscribe(), string => label.set_markup_escaped(&string));
|
||||
glib_recv!(context.subscribe(), string => label.set_markup(&string));
|
||||
}
|
||||
|
||||
Ok(ModuleParts {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue