make sure taskbar supports text badges

dbus-notify
Zlatin Balevsky 2022-04-12 12:42:14 +01:00
parent 039ea5269e
commit 7aee7e282a
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class ChatNotificator {
}
def taskBar = Taskbar.getTaskbar()
if (taskBar.isSupported(Feature.ICON_BADGE_NUMBER)) {
if (taskBar.isSupported(Feature.ICON_BADGE_NUMBER) && taskBar.isSupported(Feature.ICON_BADGE_TEXT)) {
if (total == 0)
taskBar.setIconBadge("")
else {