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,12 +1,13 @@
/******************************************************************************* /*******************************************************************************
* 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 * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* QNX Software Systems - Initial API and implementation * QNX Software Systems - Initial API and implementation
* Anton Leherbauer (Wind River Systems) - 151571 DND move on GTK
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.internal.ui.dnd; package org.eclipse.cdt.internal.ui.dnd;
@ -78,7 +79,7 @@ public class ResourceTransferDropAdapter extends CDTViewerDropAdapter implements
} else { } else {
MoveFilesAndFoldersOperation operation = new MoveFilesAndFoldersOperation(getShell()); MoveFilesAndFoldersOperation operation = new MoveFilesAndFoldersOperation(getShell());
if (operation.validateDestination(destination, selectedResources) == null) { if (operation.validateDestination(destination, selectedResources) == null) {
event.detail = op; event.detail = DND.DROP_MOVE;
} }
} }
} }