Hi Dmitry. "NotShowIn" and "OnlyShowIn" are the only ways to configure action appearance according to the desktop entry spec [1]. The messaging menu still supports "TargetEnvironment", because it was written before shortcut actions were specified. Please consider TargetEnvironment as deprecated. I've removed it from the documentation and we will also remove it from the source soon.
[1] http://standards.freedesktop.org/desktop-entry-spec/desktop-entry- spec-1.1.html ** Changed in: indicator-messages (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1055972 Title: Shows actions from .desktop file even when no TargetEnvironment is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-messages/+bug/1055972/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs