Comment 3 for bug 332014

Martin Pitt (pitti) wrote :

This can't be fixed in stracciatella-session, since that's not even installed by default, and *if* you are running it, then you do want the menu entry.

We currently do not have a way to show/hide menu entries based on $GDMSESSION, and using OnlyShowIn= doesn't work.

One option would be to introduce a new field X-ShowIf: which runs a command which determines whether or not to display it, but that's (a) hackish and (b) won't be accepted upstream probably.

But since neither notification-daemon nor stracciatella-session are installed by default now, I downgrade its importance a bit.