Pass arguments for the "New mail" event

Bug #790637 reported by Pa_trick17
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Popper
Opinion
Wishlist
Pa_trick17

Bug Description

I, personally don't like the exact text/icon whatever of the notifications when a new mail arrives.
So i wanted to create a script to handle this stuff.
I just found out how to get to the arguments for the event "Clicking on a mail" (passed on as bash arguments $1 to $3) , however it would be good if the same arguments were passed on to the script for the event "New mail", since i would like to use this information, obviously.

EDIT: It might be good to add the above information, as it took me some minutes to figure out that "these information are passed on to the script as arguments" really just meant passing them on as the usual bash arguments

Revision history for this message
Pa_trick17 (trick17) wrote :
Revision history for this message
Ralf Hersel (ralf.hersel) wrote :

We put this request in the to-do list but it is not decided if and when it will be implemented. Not before version 0.30.

Changed in popper:
status: New → Triaged
importance: Undecided → Wishlist
assignee: nobody → Pa_trick17 (trick17)
Revision history for this message
Ralf Hersel (ralf.hersel) wrote :

I analysed this request. How should this work? The event 'on_mail_clicked' occurs on a single instance of an email. Therefore I can pass: sender, datetime and subject to the shell script. The event 'on_email_arrival' occurs on the entirety of new emails, means we are not on one email but on multiple. What shall I pass to the shell script: a two-dimensional array of parameters?

Without any further explaination on how this should work, I will reject this request.

Changed in popper:
status: Triaged → Opinion
Revision history for this message
Andreas (andreas-weiden) wrote :

After reviewing my question myself i can see your point. This feature request arose before i saw that the message "You have x new messages" appears when there is more than one new message. I was only thinking about the popup appearing when a single new message arrives. Since these two appear to be coupled the passing of the mail parameters seems imposible, as you pointed out. the only chance for something like this would be to catch the event on_mail_arrival_one_mail_only and allow custamization there. but i guess this would be too much work for only a little gain, so i understand it when you reject this feature request.

thanks for taking the time to review my question anyways,
Greets

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.