1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 151571 - DND move on GTK

This commit is contained in:
Anton Leherbauer 2006-12-04 09:28:05 +00:00
parent 83abfaba64
commit b9f960d0c8

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2002, 2005 QNX Software Systems and others.
* Copyright (c) 2002, 2006 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -7,6 +7,7 @@
*
* Contributors:
* QNX Software Systems - Initial API and implementation
* Anton Leherbauer (Wind River Systems) - 151571 DND move on GTK
*******************************************************************************/
package org.eclipse.cdt.internal.ui.dnd;
@ -78,7 +79,7 @@ public class ResourceTransferDropAdapter extends CDTViewerDropAdapter implements
} else {
MoveFilesAndFoldersOperation operation = new MoveFilesAndFoldersOperation(getShell());
if (operation.validateDestination(destination, selectedResources) == null) {
event.detail = op;
event.detail = DND.DROP_MOVE;
}
}
}