Giter Site home page Giter Site logo

mail-notifier's People

Contributors

rinaldus avatar romanzhilich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mail-notifier's Issues

Timers cannot be started from another thread

I'm using mail-notifier on OS X from terminal and output gets bloated with this message:

Object::startTimer: Timers cannot be started from another thread

That seems pretty weird, since timer started in the same place it's created. Moreover, if I understand correctly it should only be started once with QThread.
It seems that message appears once for every mail check performed.

Use native icons

Something like this:
self.trayIcon.setIcon(QIcon.fromTheme('mail-message'))

OS X crash when sending notification

Hello.

I got the following crash on OS X 10.11 when there's unread letters:

Traceback (most recent call last):
  File "./mail-notifier.py", line 468, in <module>
    mail_check()
  File "./mail-notifier.py", line 414, in mail_check
    notify ("You have "+ str(mail_count) +" unread letters")
  File "./mail-notifier.py", line 442, in notify
    subprocess.Popen(['notify-send', programTitle, message])
  File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'notify-send': 'notify-send'

I might be missing some dependencies but the only one required according to Readme is PyQt5 which I have installed via Homebrew.

Launch programm

Add feature launch any specified command when receiving new messages and by cliking to icon Mail notifier in tray mayby fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.