[macruby-changes] [520] MacRuby/trunk/lib/hotcocoa/mappings/alert.rb

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 29 13:30:30 PDT 2008


Revision: 520
          http://trac.macosforge.org/projects/ruby/changeset/520
Author:   rich at infoether.com
Date:     2008-08-29 13:30:29 -0700 (Fri, 29 Aug 2008)
Log Message:
-----------
add info default as nil

Modified Paths:
--------------
    MacRuby/trunk/lib/hotcocoa/mappings/alert.rb

Modified: MacRuby/trunk/lib/hotcocoa/mappings/alert.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mappings/alert.rb	2008-08-29 20:25:24 UTC (rev 519)
+++ MacRuby/trunk/lib/hotcocoa/mappings/alert.rb	2008-08-29 20:30:29 UTC (rev 520)
@@ -1,6 +1,6 @@
 HotCocoa::Mappings.map :alert => :NSAlert do
   
-  defaults :default => "OK", :alternate => nil, :other => nil, :info => nil, :show => true
+  defaults :default => "OK", :alternate => nil, :other => nil, :info => "", :show => true
   
   def alloc_with_options(options)
     if options[:message]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080829/56df1bd0/attachment.html 


More information about the macruby-changes mailing list