Ticket #266 (closed enhancement: fixed)
new feature: send notifications to libnotify daemon on linux
| Reported by: | guest | Owned by: | bbangert |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | Growl | Version: | trunk |
| Severity: | normal | Keywords: | libnotify |
| Cc: | root@… |
Description
Hi there.
I was bored and tried to implement a feature I wanted for a few time on hellanzb.
On MacOS you have Growl, and on Linux you have libnotify daemon. If you run a decent distribution and GNOME you probably got it running.
So my patch adds a option to enable notifications to this daemon. If the user enables this option he must have the notify-python bindings installed (my patch check for the module and exits with a nice error if the user doesn't have it).
If everything goes smoothly the user should receive the same notifications as a macos user receives with Growl.
Please send me sugestions about this patch, and if it is already good to apply, go ahead :) the patch is against the svn trunk.
Thank you for your help and keep your good work.
Here's the diffstat:
Hellanzb/Core.py | 14 ++++++++++++++ Hellanzb/Daemon.py | 1 + Hellanzb/Log.py | 15 +++++++++++++++ Hellanzb/NZBLeecher/ArticleDecoder.py | 1 + Hellanzb/NZBQueue.py | 5 +++++ Hellanzb/PostProcessor.py | 2 ++ Hellanzb/PostProcessorUtil.py | 8 ++++++++ etc/hellanzb.conf.sample | 4 ++++
PS - If you need to contact me you can do it by email: root (at) cpan (dot) org
Ruben Fonseca

