Changeset 27145 in vbox
- Timestamp:
- Mar 7, 2010 4:48:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineLogicSeamless.cpp
r27132 r27145 46 46 /* Cleanup normal machine window: */ 47 47 cleanupMachineWindows(); 48 49 /* Cleanup actions groups: */ 50 cleanupActionGroups(); 48 51 } 49 52 … … 151 154 UIMachineLogic::prepareActionGroups(); 152 155 153 /* Adjust window isn't allowed in seamless */ 154 actionsPool()->action(UIActionIndex_Simple_AdjustWindow)->setEnabled(false); 156 /* Guest auto-resize isn't allowed in seamless: */ 157 actionsPool()->action(UIActionIndex_Toggle_GuestAutoresize)->setVisible(false); 158 159 /* Adjust-window isn't allowed in seamless: */ 160 actionsPool()->action(UIActionIndex_Simple_AdjustWindow)->setVisible(false); 161 162 /* Disable mouse-integration isn't allowed in seamless: */ 163 actionsPool()->action(UIActionIndex_Toggle_MouseIntegration)->setVisible(false); 155 164 } 156 165 … … 289 298 void UIMachineLogicSeamless::cleanupActionGroups() 290 299 { 291 /* Reenable adjust window */ 292 actionsPool()->action(UIActionIndex_Simple_AdjustWindow)->setEnabled(true); 293 } 294 300 /* Reenable guest-autoresize action: */ 301 actionsPool()->action(UIActionIndex_Toggle_GuestAutoresize)->setVisible(true); 302 303 /* Reenable adjust-window action: */ 304 actionsPool()->action(UIActionIndex_Simple_AdjustWindow)->setVisible(true); 305 306 /* Reenable mouse-integration action: */ 307 actionsPool()->action(UIActionIndex_Toggle_MouseIntegration)->setVisible(true); 308 } 309
Note:
See TracChangeset
for help on using the changeset viewer.