use a menubar if the shell doesn't support the app menu

[bug #715020]