Force the menubar to be shown in the Clementine window instead of in Unity's global menubar thing.

This commit is contained in:
David Sansome 2011-10-14 21:17:41 +01:00
parent 03e30d19c4
commit bde558f655
1 changed files with 7 additions and 0 deletions

View File

@ -316,6 +316,13 @@ int main(int argc, char *argv[]) {
}
#endif
#ifdef Q_OS_LINUX
// Force Clementine's menu to be shown in the Clementine window and not in
// the Unity global menubar thing. See:
// https://bugs.launchpad.net/ubuntu/+source/appmenu-gtk/+bug/674047
setenv("QT_X11_NO_NATIVE_MENUBAR", "1", true);
#endif
// Initialise logging
logging::Init();
logging::SetLevels(options.log_levels());