[470] MacRuby/trunk/lib/hotcocoa/mappings/application.rb
Revision: 470 http://trac.macosforge.org/projects/ruby/changeset/470 Author: rich@infoether.com Date: 2008-08-21 23:08:06 -0700 (Thu, 21 Aug 2008) Log Message: ----------- problem in way things were defined Modified Paths: -------------- MacRuby/trunk/lib/hotcocoa/mappings/application.rb Modified: MacRuby/trunk/lib/hotcocoa/mappings/application.rb =================================================================== --- MacRuby/trunk/lib/hotcocoa/mappings/application.rb 2008-08-22 06:00:58 UTC (rev 469) +++ MacRuby/trunk/lib/hotcocoa/mappings/application.rb 2008-08-22 06:08:06 UTC (rev 470) @@ -7,7 +7,9 @@ def handle_block(application, &block) begin require 'lib/menu' - application.menu = application_menu + o = Object.new + o.extend HotCocoa + application.menu = o.application_menu rescue LoadError => e end block.call(application)
participants (1)
-
source_changes@macosforge.org