mirror of https://github.com/zlatinb/muwire
make sure taskbar supports text badges
parent
039ea5269e
commit
7aee7e282a
|
@ -106,7 +106,7 @@ class ChatNotificator {
|
||||||
}
|
}
|
||||||
|
|
||||||
def taskBar = Taskbar.getTaskbar()
|
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)
|
if (total == 0)
|
||||||
taskBar.setIconBadge("")
|
taskBar.setIconBadge("")
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue