[macruby-changes] [708] MacRuby/trunk/lib/hotcocoa/mapper.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 4 11:52:25 PST 2008
Revision: 708
http://trac.macosforge.org/projects/ruby/changeset/708
Author: lsansonetti at apple.com
Date: 2008-11-04 11:52:24 -0800 (Tue, 04 Nov 2008)
Log Message:
-----------
this call to respondsToSelector should return a ruby boolean now, this fixible the invisible text field malediction
Modified Paths:
--------------
MacRuby/trunk/lib/hotcocoa/mapper.rb
Modified: MacRuby/trunk/lib/hotcocoa/mapper.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mapper.rb 2008-11-03 08:19:40 UTC (rev 707)
+++ MacRuby/trunk/lib/hotcocoa/mapper.rb 2008-11-04 19:52:24 UTC (rev 708)
@@ -60,7 +60,7 @@
end
end
if default_empty_rect_used
- control.sizeToFit if control.respondsToSelector(:sizeToFit) == 1
+ control.sizeToFit if control.respondsToSelector(:sizeToFit) == true
end
if control_block
if inst.respond_to?(:handle_block)
@@ -196,4 +196,4 @@
end
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/20081104/cfd8e81c/attachment.html>
More information about the macruby-changes
mailing list