After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 127516 - Panel notification applet for new mail
Panel notification applet for new mail
Status: RESOLVED DUPLICATE of bug 648471
Product: bounties
Classification: Infrastructure
Component: Mailer
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Bounty Bug List
Bounty Bug List
: 270257 270691 307528 312561 328132 335408 342159 363225 415200 581061 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-11-20 19:40 UTC by aaron
Modified: 2012-06-21 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed Solution (333.83 KB, patch)
2005-01-08 06:34 UTC, vasista sarma
none Details | Review
proposed solution (36.58 KB, patch)
2005-04-06 02:01 UTC, Stephane Konstantaropoulos
none Details | Review

Description aaron 2003-11-20 19:40:23 UTC
An often requested feature has been to have new mail notified via the panel. 

This bug is part of the Integrated Collaborative Desktop Bounty Hunt.  For
more information on prizes, contest rules, and other bounty tasks, visit:
 
http://www.gnome.org/bounties/
 
If you would like to start working on this bounty, please create a bugzilla
account and append your intention to work on this bounty to this bug.  If
multiple people declare their intentions to work on a task, we encourage
you to join forces and work together.
 
Please do not close this bug.  The contest organizers will mark this bug as
FIXED when the prize is claimed.
Comment 1 aaron 2003-11-20 19:40:52 UTC
Please see http://www.gnome.org/bounties/Mailer.php3#127516 for
more information.





Comment 2 anthony taranto 2003-11-22 18:03:07 UTC
i'll give it a shot
Comment 3 Mike Hearn 2003-11-23 14:09:51 UTC
I have a patch that does pulsing tray icons. If you want it, let me
know. I don't want any money for it, it took all of 20 mins to hack up....
Comment 4 David Moore 2003-11-26 04:46:26 UTC
I'm gonna take a crack at this as well.
Comment 5 mr 2004-01-08 11:46:43 UTC
To all those writing patches. It would be greatest if the panel 
applet / Evolution link would be "open", so something else could be 
hooked in.

Some people run Evolution and DON'T run the Gnome desktop. I'm one of 
those; I use IceWM and its native taskbar. IceWM has a "new mail" 
icon; if one could somehow get a call from Evolution when this icon 
has to be turned on/off, I'd either talk the IceWm developers into 
linking to this, or hack it up myself.\
Comment 6 Miguel Angel López Hernández 2004-01-11 11:47:21 UTC
I've finished the panel notification applet and I've sent it to the
evolution-patches list, this is not only my first evo patch but my
very first gnome patch so I hope this is good enough.

You can see some screenshots on:

http://www.gulev.org.mx/~miguel/ScreenshotsBountie

Miguel
Comment 7 Miguel Angel López Hernández 2004-01-27 20:49:40 UTC
Hi,

I've sent a new patch to the evolution-patches list, but it seems my
dynamic ip address are on a black list :( so maybe it will not reach
the inbox of many people (evo maintainers included), so you can get
the new patch on:

http://www.gulev.org.mx/~miguel/newmail-applet-bountie/

Of course, some screenshots:

http://www.gulev.org.mx/~miguel/newmail-applet-bountie/Screenshots/

Greetings,
Miguel
Comment 8 Carmine F. Greco 2004-03-19 16:48:51 UTC
Would it be possible to get the same functionality for Evolution
calendar notifications?  For example, a [flashing] tray icon for
calendar reminders instead of the popup window.
Comment 9 Joachim Breitner 2004-05-10 11:29:51 UTC
It would be nice if the applet would run without (whole of) evolution running,
to save resources and especially startup time.
Comment 10 Milan Plzik 2004-08-15 18:41:45 UTC
Idea of applet running without Evolution is nice, but the bounty says "it should
attempt to insert itself into the panel notification area". This makes lots of
things easier. If this would be satisfied together with checking mail without
evo running, IMHO the only way how to do it is to create some kind of 'lite' evo
running in background with only email services enables - whole UI would
initialize when user clicks 'Open Evolution' button. I think it's very difficult.
Comment 11 Milan Plzik 2004-08-16 19:29:00 UTC
I'll try to solve this one.
Comment 12 Not Zed 2004-08-25 09:41:43 UTC
FWIW we're more or less set on Miguel's patches at this time, its awaiting some
stability of the eplugin stuff and the branching for the 2.0 release.
Comment 13 Christian Krause 2004-10-27 20:51:26 UTC
Unfortunately Miguel's URL does not work anymore. Does anybody have his patches
and could attach them to this bug report? I would like to try them out.
Comment 14 Philip Van Hoof 2004-11-17 13:51:50 UTC
Same request as #13
Comment 15 André Klapper 2004-12-08 00:11:20 UTC
this is also http://bugzilla.ximian.com/show_bug.cgi?id=66227

the patch you (christian and philip) are requesting should be
<http://lists.ximian.com/archives/public/evolution-patches/2004-January/004197.
html>, also interesting to read about the former problems at <http://lists.
ximian.com/archives/public/evolution-patches/2004-January/004117.html>
Comment 16 vasista sarma 2005-01-06 06:02:22 UTC
I have a working notification area applet which would work for IMAP and POP3
accounts. I want to know whom to submit this code for review.
Comment 17 Christian Krause 2005-01-06 09:23:21 UTC
#16: Can you attach the patch to this bug entry, please?

I am very interesting in a working version, because the old patch from Miguel
doesn't apply anymore. I started to adapt it to the current stable version of
evolution, but without success so far...
Comment 18 vasista sarma 2005-01-08 06:34:25 UTC
Created attachment 35647 [details] [review]
Proposed Solution
Comment 19 vasista sarma 2005-01-13 06:43:53 UTC
Any one has seen it working ??.Mail me if any modifications needs to be done.
The attachement is a tar file of the code you can configure->make->make install.
when you start knowmail you must have the notification area running. Please pass
on your comments on this.

 
Comment 20 Ross Burton 2005-01-25 13:35:59 UTC
Vasista: from a quick look at the source of your code it appears that you need
to enter the mail servers into your applet.  The point of this bounty is that it
uses the Evolution configuration, there are plenty of mail checking applets already.
Comment 21 Stephane Konstantaropoulos 2005-03-31 02:45:21 UTC
Anyone there?

I tried to implement such a thing ito evolution before and I am thinking of
giving it a go, no rush though.
Comment 22 Stephane Konstantaropoulos 2005-04-06 02:01:35 UTC
Created attachment 39728 [details] [review]
proposed solution
Comment 23 Stephane Konstantaropoulos 2005-04-06 02:15:31 UTC
Hi All,

Here is my proposed solution. It solves the problem with no extra functionality
but should be easy to expand.

We have a new GObject: EmNotify, singleton, that is created when the
MailComponent is created, it also gets destroyed with the latter.

This objects takes care of the configuration (listening to GConf) and does the
notifications. The notifications however are still triggered in
mail-folder-cache.c:real_flush_update()

The "notification type" is no longer an exclusive radio button but allows all
the three possibilities together (tray icon, beep and sound). The GConf schema
is not changed, we just store an int and read it as flags.

Possible improvements:
- Allow watching selected folders (this means extend the em-mailer-prefs.c to
allow such selection), for this we need mail-folder-cache.c:real_flush_update()
to pass a richer data structure to em_notify_notify() containing the URI or some
kind of ID of the folder that is being notified (not too hard).
- Show a GTK_WINDOW_POPUP for a moment near the notification icon mail has
arrived. (with perhaps some information about the folder or something like that)

Anyway this is the future and for now we have the Outlook-like functionality,
that I was quite missing, in fact.
Comment 24 Teppo Turtiainen 2005-08-04 18:05:04 UTC
*** Bug 312561 has been marked as a duplicate of this bug. ***
Comment 25 madcap 2005-11-15 04:35:38 UTC
This bounty is marked as "solved" at http://www.gnome.org/bounties/Mailer.html
with a pointer to
http://cvs.gnome.org/viewcvs/evolution/plugins/new-mail-notify/ as containing
the source.

Forgive me, but this seems like half the problem is solved. The new-mail-notify
plugin sends out dbus events, but there doesn't seem to be any applet that
actually reads the dbus events. There's no value to the end-user until something
shows up in the notification tray. :-/

I just got the program 'mail-notification' to work with evolution. Currently, it
builds its own evolution plugin and uses that as an interface (it also supports
other mailbox sources such as imap, gmail, etc.). The interface is pretty nice.
Maybe the mechanism that it uses can be changed to use the existing
new-mail-notify dbus plugin that ships with evolution...
Comment 26 Dennis Krul (dweazle) 2005-12-29 13:18:54 UTC
*** Bug 307528 has been marked as a duplicate of this bug. ***
Comment 27 Dennis Krul (dweazle) 2005-12-29 13:30:43 UTC
*** Bug 270257 has been marked as a duplicate of this bug. ***
Comment 28 Karsten Bräckelmann 2006-01-22 19:12:44 UTC
*** Bug 328132 has been marked as a duplicate of this bug. ***
Comment 29 Karsten Bräckelmann 2006-01-22 19:16:57 UTC
*** Bug 270691 has been marked as a duplicate of this bug. ***
Comment 30 Karsten Bräckelmann 2006-03-23 18:09:47 UTC
*** Bug 335408 has been marked as a duplicate of this bug. ***
Comment 31 bugreports 2006-05-07 16:05:48 UTC
well there is the non-working, non-compiling, outdated, unmaintained em-panel-applet which I guess is supposed to work as a front-end...

But it is far from usable/complete so I also wonder why the bounty was claimed...
Comment 32 Karsten Bräckelmann 2006-10-23 00:17:29 UTC
*** Bug 363225 has been marked as a duplicate of this bug. ***
Comment 33 Matthew Barnes 2009-05-02 00:07:26 UTC
*** Bug 581061 has been marked as a duplicate of this bug. ***
Comment 34 André Klapper 2012-01-27 12:18:23 UTC
*** Bug 342159 has been marked as a duplicate of this bug. ***
Comment 35 André Klapper 2012-01-27 12:18:34 UTC
*** Bug 415200 has been marked as a duplicate of this bug. ***
Comment 36 André Klapper 2012-06-21 16:55:18 UTC
Basically a dup of bug 653699 or bug 648471.

*** This bug has been marked as a duplicate of bug 648471 ***