Update systrayUpdater
This commit is contained in:
parent
6fc3ffc611
commit
2f1a480bc4
|
@ -37,7 +37,6 @@ def count():
|
||||||
if outputCount == 0:
|
if outputCount == 0:
|
||||||
tray.setVisible(False)
|
tray.setVisible(False)
|
||||||
else:
|
else:
|
||||||
tray.setVisible(True)
|
|
||||||
menu.clear()
|
menu.clear()
|
||||||
menu.addAction(runUpdate)
|
menu.addAction(runUpdate)
|
||||||
menu.addAction(readNews)
|
menu.addAction(readNews)
|
||||||
|
@ -47,6 +46,7 @@ def count():
|
||||||
global avail
|
global avail
|
||||||
avail = str(outputCount)+" Updates"
|
avail = str(outputCount)+" Updates"
|
||||||
tray.setToolTip(avail)
|
tray.setToolTip(avail)
|
||||||
|
tray.setVisible(True)
|
||||||
|
|
||||||
# Read the News
|
# Read the News
|
||||||
# Get pkg info
|
# Get pkg info
|
||||||
|
|
Loading…
Reference in New Issue