[431] MacRuby/branches/lrz_unstable/lib/hotcocoa/mappings/button.rb
Revision: 431 http://trac.macosforge.org/projects/ruby/changeset/431 Author: lsansonetti@apple.com Date: 2008-08-12 23:05:57 -0700 (Tue, 12 Aug 2008) Log Message: ----------- removing useless custom method, because there is already a similar constant definition above Modified Paths: -------------- MacRuby/branches/lrz_unstable/lib/hotcocoa/mappings/button.rb Modified: MacRuby/branches/lrz_unstable/lib/hotcocoa/mappings/button.rb =================================================================== --- MacRuby/branches/lrz_unstable/lib/hotcocoa/mappings/button.rb 2008-08-13 04:50:29 UTC (rev 430) +++ MacRuby/branches/lrz_unstable/lib/hotcocoa/mappings/button.rb 2008-08-13 06:05:57 UTC (rev 431) @@ -55,18 +55,6 @@ def type=(value) setButtonType(value) end - - def state=(value) - case value - when :on - value = NSOnState - when :off - value = NSOffState - when :mixed - value = NSMixedState - end - setState(value) - end def on? state == NSOnState
participants (1)
-
source_changes@macosforge.org