<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -97,13 +97,11 @@ module Growl
       
       context = {}
       context[:user_click_context] = options[:click_context] if options[:click_context]
-      context[:user_click_context] = @application_name if options[:click_context].nil? &amp;&amp; always_callback
-      
       if block_given?
         @callbacks[callback.object_id] = callback
         context[:callback_object_id] = callback.object_id.to_s
       end
-      dict[:NotificationClickContext] = context unless context.empty?
+      dict[:NotificationClickContext] = context if always_callback || !context.empty?
       
       notification_center.postNotificationName_object_userInfo_deliverImmediately(:GrowlNotification, nil, dict, true)
     end
@@ -116,7 +114,6 @@ module Growl
       user_context = nil
       if context = notification.userInfo[GROWL_KEY_CLICKED_CONTEXT]
         user_context = context[:user_click_context]
-        user_context = nil if always_callback &amp;&amp; user_context == @application_name
         if callback_object_id = context[:callback_object_id]
           @callbacks.delete(callback_object_id.to_i).call
         end
@@ -130,7 +127,6 @@ module Growl
       if context = notification.userInfo[GROWL_KEY_CLICKED_CONTEXT]
         @callbacks.delete(context[:callback_object_id].to_i) if context[:callback_object_id]
         user_context = context[:user_click_context]
-        user_context = nil if always_callback &amp;&amp; user_context == @application_name
       end
       
       @delegate.growlNotifierTimedOut_context(self, user_context) if @delegate &amp;&amp; @delegate.respond_to?(:growlNotifierTimedOut_context)</diff>
      <filename>lib/growl.rb</filename>
    </modified>
    <modified>
      <diff>@@ -160,7 +160,7 @@ describe &quot;Growl::Notifier.sharedInstance&quot; do
       :NotificationTitle =&gt; 'title',
       :NotificationDescription =&gt; 'description',
       :NotificationPriority =&gt; 0,
-      :NotificationClickContext =&gt; { :user_click_context =&gt; @name }
+      :NotificationClickContext =&gt; {}
     }
     
     @center.expects(:postNotificationName_object_userInfo_deliverImmediately).with(:GrowlNotification, nil, dict, true)
@@ -210,7 +210,7 @@ describe &quot;Growl::Notifier.sharedInstance&quot; do
   
   it &quot;should send a message to the delegate without a click_context if always_callback is enabled and no :click_context was specified&quot; do
     @instance.always_callback = true
-    notification = stubbed_notification(:user_click_context =&gt; @name)
+    notification = stubbed_notification({})
     assign_delegate.expects(:growlNotifierClicked_context).with(@instance, nil)
     @instance.onClicked(notification)
   end
@@ -239,14 +239,6 @@ describe &quot;Growl::Notifier.sharedInstance&quot; do
     @instance.onTimeout(notification)
   end
   
-  it &quot;should send a message to the delegate if a notification times out, without a click_context if always_callback is enabled and no :click_context was specified&quot; do
-    @instance.always_callback = true
-    notification = stubbed_notification(:user_click_context =&gt; @name)
-    assign_delegate.expects(:growlNotifierTimedOut_context).with(@instance, nil)
-    
-    @instance.onTimeout(notification)
-  end
-  
   it &quot;should not send a message to the delegate if a notification times out but the delegate doesn't respond to the delegate method&quot; do
     assign_delegate
     @instance.onTimeout(stubbed_notification)</diff>
      <filename>test/growl_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9e4e0359a8789e949c21b6d79d8ec8f5476846e2</id>
    </parent>
  </parents>
  <author>
    <name>Satoshi Nakagawa</name>
    <email>psychs@limechat.net</email>
  </author>
  <url>http://github.com/psychs/growlnotifier/commit/4323279367737d584e85dc7531f3c9c0300e9996</url>
  <id>4323279367737d584e85dc7531f3c9c0300e9996</id>
  <committed-date>2008-11-20T12:59:29-08:00</committed-date>
  <authored-date>2008-11-20T12:59:29-08:00</authored-date>
  <message>callback with context=nil when always_callback=true without :click_context</message>
  <tree>dd6339f840e630b3e9770619cdbbad1e7c9ed479</tree>
  <committer>
    <name>Satoshi Nakagawa</name>
    <email>psychs@limechat.net</email>
  </committer>
</commit>
