Created attachment 2051 Enables mailbox check after button pressed When new messages, after doing left-click on the button, a user probably launches an MUA to read the messages and possibly (like I do) to move them to their respective folders. The problem is that when the user finally closes his MUA the plugin needs <interval> seconds to reflect possible changes in the mailbox. The situation also applies to other types of mailboxes. I attach a diff which corrects this problem by calling xfce_mailwatch_force_update() after the button was pressed. The overhead on remote mailboxes with this change might need to be considered as the traffic doubles in the worst case. (user presses the button every <interval> seconds).
Patch against 1.1.0 version
No, for a few reasons: 1. Future versions will use local file-change monitoring, so local mail spools will get auto-updated without timeout intervals at all. 2. Middle-click already does the update-now function. 3. This patch just doesn't make sense anyway, especially for remote file systems -- clicking the button can do *anything*. In my case, all it does is switch to the virtual desktop where I keep my mail program running all the time. It doesn't at all indicate that I've read the mail and it's no longer new; in fact I'm not seeing how this could ever work -- how is the click command going to instantaneously make all mail read? (Note that it runs async, so your forced update could even occur before the click command completes.)