300
350
projectsToSave.Add (sourceProject);
301
351
if (targetProject != null)
302
352
projectsToSave.Add (targetProject);
304
using (IProgressMonitor monitor = IdeApp.Workbench.ProgressMonitors.GetStatusProgressMonitor (GettextCatalog.GetString("Copying files..."), MonoDevelop.Ide.Gui.Stock.CopyIcon, true))
357
using (var monitor = IdeApp.Workbench.ProgressMonitors.GetStatusProgressMonitor (opText, Stock.StatusSolutionOperation, true)) {
306
358
// If we drag and drop a node in the treeview corresponding to a directory, do not move
307
359
// the entire directory. We should only move the files which exist in the project. Otherwise
308
360
// we will need a lot of hacks all over the code to prevent us from incorrectly moving version
309
361
// control related files such as .svn directories
311
364
IdeApp.ProjectOperations.TransferFiles (monitor, sourceProject, source, targetProject, targetPath, move, true);