Commit Graph

17 Commits

Author SHA1 Message Date
Patrick Ulbrich
59afdd67b4 libnotify plugin: better support for non-gnome desktops
- only use actions, multiline sender/subject layout and pango markup in GNOME-Shell notifications
- use single line sender/subject layout in notifications on other desktops
2014-03-23 17:26:59 +01:00
Patrick Ulbrich
5238228ee8 make libnotifyplugin use Ubuntu's OSD notifications 2014-03-01 10:42:55 +01:00
Patrick Ulbrich
9690234084 implemented mark-as-read feature, other fixes
implemented mark-as-read feature
refactored reminder class
don't write mailnag.dat on every mail check (only if its contend has changed)
minor other fixes
2014-02-23 19:13:54 +01:00
Patrick Ulbrich
113b3a1506 massive refactoring
* primary goal: reduce global vars, slim down main file
  (only do initialization of global stuff here, move everything else to a daemon class)
* properly close all open pop3/imap connections on shutdown
* throw/catch meaningful exceptions
* renamed IdleRunner/Idler run() methods to start() since 'run' suggests a blocking call (as in dialog.run())
2014-02-01 21:44:07 +01:00
Patrick Ulbrich
78eea21752 libnotify plugin: explicitly put new mails on top (potentially fixes #57) 2013-12-21 15:14:15 +01:00
Patrick Ulbrich
8661a7236a fixed add_action call (libnotify 0.7.6 introces API changes) 2013-10-12 20:07:49 +02:00
Patrick Ulbrich
663dc50057 terminate subprocesses on shutdown (e.g. on shutdown via dbus or SIGTERM)
* fixes program hang on shutdown
* improves consistency - terminating Mailnag via CTRL+C always did this
2013-08-25 15:38:35 +02:00
Patrick Ulbrich
6918c1bce2 fixed libnotifyplugin 2013-08-10 16:14:44 +02:00
Patrick Ulbrich
214adfb9ba mail sender related changes
removed sender_format from config
store both, sender name and address in mail objects
mailcollector: removed error messages from subject and sender strings
user script plugin: fixed script arg
2013-08-05 19:28:32 +02:00
Patrick Ulbrich
cb30ff69a8 fixed typo 2013-08-04 13:31:00 +02:00
Patrick Ulbrich
86fb8db99b libnotify plugin: added config ui and single notification mode 2013-07-28 17:18:55 +02:00
Patrick Ulbrich
ce4544a0ef libnotify plugin: make sure the linotify daemon is available before notifying 2013-07-28 14:46:23 +02:00
Patrick Ulbrich
394156a6b2 fixed misnamed function call 2013-07-28 12:15:25 +02:00
Patrick Ulbrich
056889b411 libnotify plugin: open default mail reader on click, prevent race conditions, refactoring 2013-07-28 12:12:28 +02:00
Patrick Ulbrich
ee5f7ed6c9 sort mails ascending in single notification mode 2013-07-23 19:55:15 +02:00
Patrick Ulbrich
74a5e02dc2 plugin hook api changes, enabled single notification mode and misc other fixes
mailchecker, plugins: pass both, new and all mails to MAILS_ADDED hook
mailchecker: fixed wrong count for filtered new mails
libnotify plugin: added some constants, enabled single notification mode, uncommented notification_id
spamfilter plugin: renamed variable
2013-07-22 20:37:29 +02:00
Patrick Ulbrich
bb5f3767d5 added libnotify plugin (not enabled by default) 2013-07-14 20:16:06 +02:00