big ui update, messages sending added

This commit is contained in:
ingvar1995 2016-02-25 23:40:00 +03:00
parent 4957d7ce09
commit 30aa254d39
6 changed files with 196 additions and 31 deletions

View file

@ -10,5 +10,5 @@ def tray_notification(title, text):
tray.setContextMenu(QtGui.QMenu())
tray.show()
if len(text) > 30:
text = text[:30] + '...'
text = text[:27] + '...'
tray.showMessage(title, text, QtGui.QSystemTrayIcon.NoIcon, 3000)