Builder4/WindowLeftTree.vala
authorAlan Knowles <alan@roojs.com>
Mon, 13 Oct 2014 05:38:46 +0000 (13:38 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 13 Oct 2014 05:38:46 +0000 (13:38 +0800)
Builder4/WindowLeftTree.vala

index 88a4539..1c94c60 100644 (file)
@@ -566,14 +566,14 @@ public class Xcls_WindowLeftTree : Object
 
                    
                     print("button mask?: %d\n", dmask);
-                    // if drag action is link ... then we can drop it anywahere...
+                    // if drag action is shift ... then we can drop it anywahere...
                      if ((dmask & GDK_SHIFT_MASK) > 0) {
-                     //        targetData = "%s|%d|".printf( path.to_string(), pos); 
-                     //} else {
+                              targetData = "%s|%d|".printf( path.to_string(), pos); 
+                      } else {
                     
                     
                         targetData = _this.model.findDropNodeByPath( isEmpty ? "" : path.to_string(), dropList, pos);
-                   // }
+                  }