<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
I didn't have much time and was not able to build the git repo code but I believe this could be easily fixed by changing line 165 in panel-plugin/mailwatch-plugin.c. I'm not sure what way round but instead of saying <br />'if (new_messages != mwp->new_messages) {'<br />changing the '!=' to a '<' or '>' (depending on which one is the updated one which I couldn't figure out so quickly...) such that only the case of more messages than before is true.<br />Sorry for the crude explanation, I'm not a developer^^<br /><br />Greetings.<br /><br />21. Nov 2017 08:51 by <a href="mailto:vlatko.surlan@evorion.hr" target="_blank" rel="noopener noreferrer">vlatko.surlan@evorion.hr</a>:<br /><br /><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>I can confirm this. It annoys the heck out of me to the point I've applied as a dev for this plugin but haven't had the time to fix it as of yet.</div>
<div> </div>
<div>Definitely not the type of behavior you would expect. I also have an audio notification played so it's an additional nuisance.</div>
<div> </div>
<div><hr /></div>
<br /><br />> From: <a href="mailto:myaccounts@tutanota.com" target="_blank" rel="noopener noreferrer">myaccounts@tutanota.com</a><br />> Date Sent: 20.11.2017 18:39<br />> To: Goodies Dev <<a href="mailto:goodies-dev@xfce.org" target="_blank" rel="noopener noreferrer">goodies-dev@xfce.org</a>><br />> Cc: <br />> Subject: RE: [Goodies-dev] <a href="mailto:goodies-dev@xfce.org" target="_blank" rel="noopener noreferrer">goodies-dev@xfce.org</a><br />> <br /> Hi,<br /><br />I am using my XFCE4 Desktop with the Mailwatch Plugin that tells me whether I have a new mail or not. Now, eventually I leave one email unread to remind me to answer it next time I open my mailbox. Let's consider the following case:<br />I had 1 unread message and get a new (second) one (that I get notified about from Mailwatch). I read it (thus not being marked as unread anymore) and I press the
'Update Now' button. I expect not to get a notification as the other unread message was marked (and notified about) before already, but happen to get a notification anyway.<br /><br />I was wondering whether this may be called a bug, if there is a simple solution and whether you knew about it :-)<br /><br /><br />Greetings.
<div id="signature-begin"><br />
<p>S poštovanjem,</p>
<p>Vlatko Šurlan, tehnički direktor</p>
<p><strong>Evorion mediji j.d.o.o.</strong><br />OIB: 36288830131<br />Ured: <a title="Evorion mediji j.d.o.o. - Glavni ured" href="https://maps.google.com/maps/ms?msid=213588721101592488571.00047326b7c056c024b40&msa=0&ll=45.783739,16.010521&spn=0.001642,0.002411" target="_blank" rel="noopener noreferrer">Letovanićka ulica 32</a>, 10000 Zagreb<br />Web: <a href="http://www.prijevodi-online.net" target="_blank" rel="noopener noreferrer">www.prijevodi-online.net</a><br />GSM: +385 (0)98 1722 187<br />Tel: +385 (0)1 6131 859</p>
<p><em>Napomena: <strong>u odgovoru uključivati sadržaj prethodnih emailova.</strong></em></p>
<p><em>Sadržaj ove poruke smatra se <strong>poslovnom tajnom</strong> i namijenjen je isključivo primatelju odnosno osobi kojoj je poruka adresirana. Ukoliko ste ovu poruku primili pogreškom, <strong>molimo Vas da je odmah uništite</strong>.</em></p>
</div></blockquote> </body>
</html>