[MacRuby-devel] [MacRuby] #824: Calls to #validateUserInterfaceItem: have no effect

MacRuby ruby-noreply at macosforge.org
Wed Aug 4 15:59:29 PDT 2010


#824: Calls to #validateUserInterfaceItem: have no effect
---------------------------------+------------------------------------------
 Reporter:  mred@…               |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  minor                |   Milestone:  MacRuby 0.7          
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------
 The following implementation of #validateUserInterfaceItem: had no effect
 when added to a window controller

 {{{
 def validateUserInterfaceItem item
   false
 end
 }}}

 Replacing the above method with a similar implementation of
 #validateMenuItem:, however, and menu items were disabled as expected.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/824>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list