Changeset 62261 in vbox
- Timestamp:
- Jul 14, 2016 3:44:02 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108776
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r62256 r62261 130 130 void UIMachineWindowNormal::sltHandleMenuBarConfigurationChange(const QString &strMachineID) 131 131 { 132 # ifdef VBOX_WS_X11133 /* We should skip that stuff on Unity (Compiz) to avoid duplicated menu-bar: */134 if (vboxGlobal().typeOfWindowManager() == X11WMType_Compiz)135 return;136 # endif /* VBOX_WS_X11 */137 138 132 /* Skip unrelated machine IDs: */ 139 133 if (vboxGlobal().managedVMUuid() != strMachineID) … … 354 348 /* Load GUI customizations: */ 355 349 { 356 #if defined(VBOX_WS_MAC) 357 /* Nothing for Mac OS X. */ 358 #elif defined(VBOX_WS_WIN) 350 #ifndef VBOX_WS_MAC 359 351 /* Update menu-bar visibility: */ 360 352 menuBar()->setVisible(actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_T_Visibility)->isChecked()); 361 #elif defined(VBOX_WS_X11) 362 /* We should skip that stuff on Unity (Compiz) to avoid duplicated menu-bar: */ 363 if (vboxGlobal().typeOfWindowManager() != X11WMType_Compiz) 364 { 365 /* Update menu-bar visibility: */ 366 menuBar()->setVisible(actionPool()->action(UIActionIndexRT_M_View_M_MenuBar_T_Visibility)->isChecked()); 367 } 368 #else 369 # warning "port me!" 370 #endif 353 #endif /* !VBOX_WS_MAC */ 371 354 /* Update status-bar visibility: */ 372 355 statusBar()->setVisible(actionPool()->action(UIActionIndexRT_M_View_M_StatusBar_T_Visibility)->isChecked());
Note:
See TracChangeset
for help on using the changeset viewer.