Changeset 77871 in vbox for trunk/src/VBox
- Timestamp:
- Mar 25, 2019 1:42:12 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerHostTable.cpp
r76626 r77871 187 187 m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Rename)); 188 188 m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_CreateNewDirectory)); 189 /* Hide cut, copy, and paste for now. We will implement those190 when we have an API for host file operations: */191 189 // m_pToolBar->addSeparator(); 192 //m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Copy));193 //m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Cut));194 //m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Paste));190 m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Copy)); 191 m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Cut)); 192 m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Paste)); 195 193 m_pToolBar->addSeparator(); 196 194 m_pToolBar->addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_SelectAll)); … … 202 200 m_selectionDependentActions.insert(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Rename)); 203 201 m_selectionDependentActions.insert(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_ShowProperties)); 202 203 /* Hide cut, copy, and paste for now. We will implement those 204 when we have an API for host file operations: */ 205 m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Copy)->setVisible(false); 206 m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Cut)->setVisible(false); 207 m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Paste)->setVisible(false); 208 204 209 } 205 210 … … 221 226 menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Rename)); 222 227 menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_CreateNewDirectory)); 223 /* Hide cut, copy, and paste for now. We will implement those224 when we have an API for host file operations: */225 228 // menu.addSeparator(); 226 //menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Copy));227 //menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Cut));228 //menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Paste));229 menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Copy)); 230 menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Cut)); 231 menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_Paste)); 229 232 menu.addSeparator(); 230 233 menu.addAction(m_pActionPool->action(UIActionIndex_M_FileManager_S_Host_SelectAll));
Note:
See TracChangeset
for help on using the changeset viewer.