Projects

Ticket #169: status_item.diff

File status_item.diff, 473 bytes (added by isaackearse@…, 3 years ago)
  • lib/hotcocoa/mappings/status_item.rb

     
    33  defaults :length => NSVariableStatusItemLength 
    44 
    55  def alloc_with_options(options) 
    6     status_bar.statusItemWithLength options.delete(:length) 
     6    HotCocoa.status_bar.statusItemWithLength options.delete(:length) 
    77  end 
    88 
    99end