[MacRuby-devel] [MacRuby] #391: HotCocoa on_notification method stopped functioning in MacRuby 0.5 under Snow Leopard

MacRuby ruby-noreply at macosforge.org
Thu Oct 29 06:03:02 PDT 2009


#391: HotCocoa on_notification method stopped functioning in MacRuby 0.5 under
Snow Leopard
--------------------------------------+-------------------------------------
 Reporter:  trevor@…                  |       Owner:  lsansonetti@…           
     Type:  defect                    |      Status:  new                     
 Priority:  blocker                   |   Milestone:                          
Component:  MacRuby                   |    Keywords:  HotCocoa on_notification
--------------------------------------+-------------------------------------

Comment(by hoffmann@…):

 # OS X 10.6.1
 # MacRuby 0.5 beta 1
 # MacRuby macruby_nightly-2009-10-28-1306.pkg

 # Simple script:

 require 'hotcocoa'
 include HotCocoa

 application do
  on_notification :named => 'NSWindowDidResizeNotification' do |
  notification|
    puts "A window resized!"
  end
 end

 # ERROR LOG:
 # 2009-10-29 13:54:05.667 macruby[11291:903]
 __CFServiceControllerBeginPBSLoadForLocalizations timed out while talking
 to pbs

 regards,

 Robert

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/391#comment:3>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list