             self.statusItem.alternateImage = altIcon
         }
         
-        //self.statusItem.view = self.statusItemView
-        
-//        self.dummyMenu = NSMenu()
-        
         self.popover = NSPopover()
         self.popover.contentViewController = self.viewController
         self.popover.behavior = NSPopoverBehavior.ApplicationDefined

            self.popover.close()
            return
        }
        
//        self.statusItemView.active = true
//        self.statusItemView.needsDisplay = true
        
        if self.popoverWillShowHandler != nil {
            self.popoverWillShowHandler!()

        
        self.statusItemButton.state = NSOffState
        self.popover.close()
    }
}

