mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-18 07:11:04 +02:00
refactor: explicitly use set_text
on non-pango labels
This commit is contained in:
parent
9d8a3eb370
commit
b8fdd8531e
5 changed files with 5 additions and 5 deletions
|
@ -209,7 +209,7 @@ impl Module<Overlay> for NotificationsModule {
|
|||
let icon = self.icons.icon(ev);
|
||||
button.set_label(icon);
|
||||
|
||||
label.set_label(&ev.count.to_string());
|
||||
label.set_text(&ev.count.to_string());
|
||||
label.set_visible(self.show_count && ev.count > 0);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue