Version 3.01

This commit is contained in:
Rinaldus 2017-10-10 15:30:21 +03:00
parent d7378800d0
commit a49944eab6
Signed by: Rinaldus
GPG Key ID: C34E249005178E87
2 changed files with 7 additions and 1 deletions

View File

@ -26,6 +26,11 @@ $ chmod +x mail-notifier.py
## Changelog
### Version 3.01 (release date: 10.10.17)
* Added status bar in Details window
* Details window now remembers its size
* Some cosmetic improvements in menu
### Version 3.0 (release date: 26.07.16)
* System tray icon displays count of unread mail directly on itself
* Popup notification behaviour was changed: now popup notification appears only if the number of unread emails has

View File

@ -22,7 +22,7 @@ from datetime import datetime, date, time
#variables
programTitle = "Mail Notifier"
programVersion = "3.0-dev"
programVersion = "3.01"
settings = QSettings(os.path.expanduser("~")+"/.config/mail-notifier/settings.conf", QSettings.NativeFormat)
def GlobalSettingsExist():
if ((settings.contains("CheckInterval") and settings.value("CheckInterval") != "") and
@ -120,6 +120,7 @@ class Window(QDialog):
def SettingsRestore(self):
if (GlobalSettingsExist() and AccountExist()):
groups = settings.childGroups()
self.ui.comboAccounts.clear() # Clear account items before fill them again
for i in range (len(groups)):
self.ui.comboAccounts.addItem(groups[i])
self.ui.comboAccounts.setCurrentText(groups[i])