[macruby-changes] [1822] MacRuby/trunk/sample-macruby/HotCocoa/ download_and_progress_indicator/lib/application.rb

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 8 23:21:32 PDT 2009


Revision: 1822
          http://trac.macosforge.org/projects/ruby/changeset/1822
Author:   rich at infoether.com
Date:     2009-06-08 23:21:32 -0700 (Mon, 08 Jun 2009)
Log Message:
-----------
use cocoa method here

Modified Paths:
--------------
    MacRuby/trunk/sample-macruby/HotCocoa/download_and_progress_indicator/lib/application.rb

Modified: MacRuby/trunk/sample-macruby/HotCocoa/download_and_progress_indicator/lib/application.rb
===================================================================
--- MacRuby/trunk/sample-macruby/HotCocoa/download_and_progress_indicator/lib/application.rb	2009-06-09 06:21:06 UTC (rev 1821)
+++ MacRuby/trunk/sample-macruby/HotCocoa/download_and_progress_indicator/lib/application.rb	2009-06-09 06:21:32 UTC (rev 1822)
@@ -17,7 +17,7 @@
         # Setup a scroll view containing a text view which will display the downloaded data
         @scroll_view = scroll_view(:frame => [0,0,495,300], :layout => {:expand => [:height, :width]})
         @text_view = text_view(:frame => [0,0,490,300])
-        @scroll_view.document_view = @text_view
+        @scroll_view.documentView = @text_view
         
         win << @scroll_view 
         
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090608/bbf77279/attachment.html>


More information about the macruby-changes mailing list