 
   setMainListeners:->
 
-    @listenTo
-      KDEventTypes       : "ReceivedMouseUpElsewhere"
-      listenedToInstance : @getSingleton("windowController")
-      callback           : (windowController, event)=>
-        @mouseUp windowController, event
+    @getSingleton("windowController").on "ReceivedMouseUpElsewhere", (event)=> @mouseUp event
 
     @getView().on "ReceivedClickElsewhere", => @setBlurState()
 

  showDragOverFeedback: do ->
    _.throttle (nodeView, event)->

      # log "show", nodeView.getData().name    
      nodeData = nodeView.getData()
      if nodeData.type isnt "file"
        nodeView.setClass "drop-target"

      @mouseIsDown = no
      @mouseDownTempItem = null

  mouseUp:(event)->

    clearTimeout @mouseDownTimer
    @mouseIsDown = no
    @cancelDrag = no
