Revision: 519 http://trac.macosforge.org/projects/ruby/changeset/519 Author: rich@infoether.com Date: 2008-08-29 13:25:24 -0700 (Fri, 29 Aug 2008) Log Message: ----------- default is to show the alert Modified Paths: -------------- MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/buttons.rb Modified: MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/buttons.rb =================================================================== --- MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/buttons.rb 2008-08-29 20:25:11 UTC (rev 518) +++ MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/buttons.rb 2008-08-29 20:25:24 UTC (rev 519) @@ -6,7 +6,7 @@ def self.create action = Proc.new { - alert(:message => "This is an alert!", :info => "This is a little more info!").show + alert :message => "This is an alert!", :info => "This is a little more info!" } layout_view :frame => [0, 0, 0, 0], :layout => {:expand => [:width, :height]} do |view|
participants (1)
-
source_changes@macosforge.org