[macruby-changes] [519] MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/buttons.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 29 13:25:24 PDT 2008
Revision: 519
http://trac.macosforge.org/projects/ruby/changeset/519
Author: rich at 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|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080829/40258193/attachment.html
More information about the macruby-changes
mailing list