[macruby-changes] [1886] MacRuby/branches/experimental/lib/hotcocoa/mappings/application.rb

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 19 14:09:11 PDT 2009


Revision: 1886
          http://trac.macosforge.org/projects/ruby/changeset/1886
Author:   lsansonetti at apple.com
Date:     2009-06-19 14:09:10 -0700 (Fri, 19 Jun 2009)
Log Message:
-----------
work around a strange bug (for now...)

Modified Paths:
--------------
    MacRuby/branches/experimental/lib/hotcocoa/mappings/application.rb

Modified: MacRuby/branches/experimental/lib/hotcocoa/mappings/application.rb
===================================================================
--- MacRuby/branches/experimental/lib/hotcocoa/mappings/application.rb	2009-06-19 21:08:55 UTC (rev 1885)
+++ MacRuby/branches/experimental/lib/hotcocoa/mappings/application.rb	2009-06-19 21:09:10 UTC (rev 1886)
@@ -34,6 +34,7 @@
       setMainMenu(menu)
     end
     
+=begin
     def menu(path=nil)
       if path
         find_menu(mainMenu, path)
@@ -41,6 +42,8 @@
         mainMenu
       end
     end
+=end
+    def menu; mainMenu; end
     
     def on_hide(menu)
       hide(menu)
@@ -77,4 +80,4 @@
     
   end
   
-end
\ No newline at end of file
+end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090619/1b6355e5/attachment.html>


More information about the macruby-changes mailing list