1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-18 12:32:09 +01:00

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

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());