 }
 
 // Conforming to Protocol NSDraggingDestination
-extension LFStatusBar {
-    
+extension LFStatusBar: NSDraggingDestination {
+   
     func draggingEntered(sender: NSDraggingInfo) -> NSDragOperation {
-        print("DraggingEntered")
+        print(__FUNCTION__)
         
         let sourceDragMask = sender.draggingSourceOperationMask()
         let pboard = sender.draggingPasteboard()


import Cocoa

class LFStatusBar: NSObject, NSDraggingDestination {
    
    let statusBarItem = NSStatusBar.systemStatusBar().statusItemWithLength(NSVariableStatusItemLength)
    

        statusBarItem.button?.alternateImage = NSImage(named: "LFStatusBarAlternateIcon")

        // Registering for Drag'n'Drop
        precondition(statusBarItem.button!.registeredDraggedTypes.isEmpty)

        //NSColorPboardType,
        statusBarItem.button!.registerForDraggedTypes([NSFilenamesPboardType])
        
        
        
        print(statusBarItem.button!.registeredDraggedTypes)
        
        addMenu()
