Only show a menu under Unity
We want our app Nitro to be more native on Ubuntu. We're going to do this by adding Unity quicklist support & appmenu support.
Is it possible for the app to only utilize the app menu? If the user is not using Unity they won't get any menu bar. The only reason why we want the menu to be in the Ubuntu version is for the sake of desktop integration.
Yes, certainly that's not a normal use case :-) So there are a couple of ways to do things. What the Chrome developers have done is create the menu bar but leave it hidden, it gets picked up by appmenu-gtk but isn't shown.
Another option is to just look for the UBUNTU_MENUPROXY
environment variable. If it is set, then you can build the menu bar, if not, don't build it.
Hope that helps,