1
0
Fork 0
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:
Dave Davenport 2015-12-14 09:17:28 +01:00
parent 2d354b3b3f
commit 47c110ed94

View file

@ -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 ) {