New icon that shows if you have connection errors
This commit is contained in:
parent
42cf334b37
commit
27ebc0884a
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
|
@ -166,6 +166,7 @@ def mail_check():
|
|||
else:
|
||||
window.trayIcon.setToolTip("Unable to establish connection to mailbox. Check your mail settings and make sure that you have not network problems.")
|
||||
notify("Unable to establish connection to mailbox. Check your mail settings and make sure that you have not network problems.")
|
||||
window.trayIcon.setIcon(QIcon(":icons/mailbox_error.png"))
|
||||
else:
|
||||
window.trayIcon.setToolTip("Cannot find configuration file. You should give access to your mailbox")
|
||||
def notify(message):
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<qresource prefix="/">
|
||||
<file>icons/mailbox_empty.png</file>
|
||||
<file>icons/mailbox_full.png</file>
|
||||
<file>icons/mailbox_error.png</file>
|
||||
<file>icons/menu_quit.png</file>
|
||||
<file>icons/check_now.png</file>
|
||||
<file>icons/settings.png</file>
|
||||
|
|
Loading…
Reference in New Issue