- Timestamp:
- Aug 16, 2012 6:08:14 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r42849 r42853 252 252 { 253 253 setText(QApplication::translate("UIActionPool", "Show &Log...")); 254 setStatusTip(QApplication::translate("UIActionPool", "Show the log files of the selected virtual machine s"));254 setStatusTip(QApplication::translate("UIActionPool", "Show the log files of the selected virtual machine")); 255 255 } 256 256 }; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r42849 r42853 1148 1148 m_pAction_Common_Reset = gActionPool->action(UIActionIndexSelector_Simple_Common_Reset); 1149 1149 m_pAction_Common_Discard = gActionPool->action(UIActionIndexSelector_Simple_Common_Discard); 1150 m_pAction_Common_LogDialog = gActionPool->action(UIActionIndex_Simple_LogDialog);1151 1150 m_pAction_Common_Refresh = gActionPool->action(UIActionIndexSelector_Simple_Common_Refresh); 1152 1151 m_pAction_Common_ShowInFileManager = gActionPool->action(UIActionIndexSelector_Simple_Common_ShowInFileManager); … … 1171 1170 m_pAction_Machine_Remove = gActionPool->action(UIActionIndexSelector_Simple_Machine_Remove); 1172 1171 m_pAction_Machine_AddGroup = gActionPool->action(UIActionIndexSelector_Simple_Machine_AddGroup); 1172 m_pAction_Machine_LogDialog = gActionPool->action(UIActionIndex_Simple_LogDialog); 1173 1173 m_pAction_Machine_SortParent = gActionPool->action(UIActionIndexSelector_Simple_Machine_SortParent); 1174 1174 } … … 1193 1193 pMenu->addSeparator(); 1194 1194 pMenu->addAction(m_pAction_Common_Discard); 1195 pMenu->addAction(m_pAction_Common_LogDialog);1196 1195 pMenu->addAction(m_pAction_Common_Refresh); 1197 1196 pMenu->addSeparator(); … … 1229 1228 pMenu->addSeparator(); 1230 1229 pMenu->addAction(m_pAction_Common_Discard); 1231 pMenu->addAction(m_pAction_ Common_LogDialog);1230 pMenu->addAction(m_pAction_Machine_LogDialog); 1232 1231 pMenu->addAction(m_pAction_Common_Refresh); 1233 1232 pMenu->addSeparator(); … … 1244 1243 << m_pAction_Machine_Remove 1245 1244 << m_pAction_Machine_AddGroup 1245 << m_pAction_Machine_LogDialog 1246 1246 << m_pAction_Machine_SortParent; 1247 1247 } … … 1399 1399 connect(m_pAction_Common_Reset, SIGNAL(triggered()), this, SLOT(sltPerformResetAction())); 1400 1400 connect(m_pAction_Common_Discard, SIGNAL(triggered()), this, SLOT(sltPerformDiscardAction())); 1401 connect(m_pAction_Common_LogDialog, SIGNAL(triggered()), this, SLOT(sltShowLogDialog()));1402 1401 connect(m_pAction_Common_Refresh, SIGNAL(triggered()), this, SLOT(sltPerformRefreshAction())); 1403 1402 connect(m_pAction_Common_ShowInFileManager, SIGNAL(triggered()), this, SLOT(sltShowMachineInFileManager())); … … 1411 1410 connect(m_pAction_Machine_Settings, SIGNAL(triggered()), this, SLOT(sltShowMachineSettingsDialog())); 1412 1411 connect(m_pAction_Machine_Clone, SIGNAL(triggered()), this, SLOT(sltShowCloneMachineWizard())); 1412 connect(m_pAction_Machine_LogDialog, SIGNAL(triggered()), this, SLOT(sltShowLogDialog())); 1413 1413 1414 1414 /* 'Group/Close' menu connections: */ … … 1606 1606 m_pAction_Machine_Remove->setEnabled(isActionEnabled(UIActionIndexSelector_Simple_Machine_Remove, items)); 1607 1607 m_pAction_Machine_AddGroup->setEnabled(isActionEnabled(UIActionIndexSelector_Simple_Machine_AddGroup, items)); 1608 m_pAction_Machine_LogDialog->setEnabled(isActionEnabled(UIActionIndex_Simple_LogDialog, items)); 1608 1609 m_pAction_Machine_SortParent->setEnabled(isActionEnabled(UIActionIndexSelector_Simple_Machine_SortParent, items)); 1609 1610 … … 1613 1614 m_pAction_Common_Reset->setEnabled(isActionEnabled(UIActionIndexSelector_Simple_Common_Reset, items)); 1614 1615 m_pAction_Common_Discard->setEnabled(isActionEnabled(UIActionIndexSelector_Simple_Common_Discard, items)); 1615 m_pAction_Common_LogDialog->setEnabled(isActionEnabled(UIActionIndex_Simple_LogDialog, items));1616 1616 m_pAction_Common_Refresh->setEnabled(isActionEnabled(UIActionIndexSelector_Simple_Common_Refresh, items)); 1617 1617 m_pAction_Common_ShowInFileManager->setEnabled(isActionEnabled(UIActionIndexSelector_Simple_Common_ShowInFileManager, items)); … … 1725 1725 } 1726 1726 case UIActionIndex_Simple_LogDialog: 1727 { 1728 return items.size() == 1 && pItem->accessible(); 1729 } 1727 1730 case UIActionIndexSelector_Simple_Common_ShowInFileManager: 1728 1731 { -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h
r42849 r42853 199 199 UIAction *m_pAction_Common_Reset; 200 200 UIAction *m_pAction_Common_Discard; 201 UIAction *m_pAction_Common_LogDialog;202 201 UIAction *m_pAction_Common_Refresh; 203 202 UIAction *m_pAction_Common_ShowInFileManager; … … 230 229 UIAction *m_pAction_Machine_Remove; 231 230 UIAction *m_pAction_Machine_AddGroup; 231 UIAction *m_pAction_Machine_LogDialog; 232 232 UIAction *m_pAction_Machine_SortParent; 233 233 /* 'Machine / Close' menu action pointers: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp
r42851 r42853 979 979 m_pContextMenuGroup->addSeparator(); 980 980 m_pContextMenuGroup->addAction(gActionPool->action(UIActionIndexSelector_Simple_Common_Discard)); 981 m_pContextMenuGroup->addAction(gActionPool->action(UIActionIndex_Simple_LogDialog));982 981 m_pContextMenuGroup->addAction(gActionPool->action(UIActionIndexSelector_Simple_Common_Refresh)); 983 982 m_pContextMenuGroup->addSeparator();
Note:
See TracChangeset
for help on using the changeset viewer.