mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-03 15:34:54 -05:00
Fix #299: Clear attributes when setting text on pango layout
This commit is contained in:
parent
2d354b3b3f
commit
47c110ed94
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ void textbox_text ( textbox *tb, const char *text )
|
|||
pango_layout_set_markup ( tb->layout, tb->text, strlen ( tb->text ) );
|
||||
}
|
||||
else {
|
||||
pango_layout_set_attributes ( tb->layout, NULL );
|
||||
pango_layout_set_text ( tb->layout, tb->text, strlen ( tb->text ) );
|
||||
}
|
||||
if ( tb->flags & TB_AUTOWIDTH ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue