[macruby-changes] [608] MacRuby/trunk/lib/hotcocoa/notification_listener.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 19 06:14:56 PDT 2008
Revision: 608
http://trac.macosforge.org/projects/ruby/changeset/608
Author: rich at infoether.com
Date: 2008-09-19 06:14:55 -0700 (Fri, 19 Sep 2008)
Log Message:
-----------
fix spelling error
Modified Paths:
--------------
MacRuby/trunk/lib/hotcocoa/notification_listener.rb
Modified: MacRuby/trunk/lib/hotcocoa/notification_listener.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/notification_listener.rb 2008-09-19 13:04:38 UTC (rev 607)
+++ MacRuby/trunk/lib/hotcocoa/notification_listener.rb 2008-09-19 13:14:55 UTC (rev 608)
@@ -3,10 +3,10 @@
class NotificationListener
DistributedBehaviors = {
- :drop => NSNotificationSuspensionBehaviorDrop,
- :coalese => NSNotificationSuspensionBehaviorCoalesce,
- :hold => NSNotificationSuspensionBehaviorHold,
- :deliver_immediately => NSNotificationSuspensionBehaviorDeliverImmediately
+ :drop => NSNotificationSuspensionBehaviorDrop,
+ :coalesce => NSNotificationSuspensionBehaviorCoalesce,
+ :hold => NSNotificationSuspensionBehaviorHold,
+ :deliver_immediately => NSNotificationSuspensionBehaviorDeliverImmediately
}
attr_reader :callback, :name, :sender, :suspension_behavior
@@ -14,7 +14,7 @@
def initialize(options={}, &block)
@callback = block
@distributed = (options[:distributed] == true)
- @suspension_behavior = DistributedBehaviors[options[:when_suspended] || :coalese]
+ @suspension_behavior = DistributedBehaviors[options[:when_suspended] || :coalesce]
@name = options[:named]
@sender = options[:sent_by]
observe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080919/5806f5cd/attachment.html
More information about the macruby-changes
mailing list