Changeset 2435

Show
Ignore:
Timestamp:
03/10/05 13:08:23 (4 years ago)
Author:
eridius
Message:

Add new event Unhandled Notice Message
Notice Message event now called for handled notices (i.e. ones that will be visible to the user)
Default event settings for notice message applied to unhandled notice message instead

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/JVChatController.m

    r2414 r2435  
    354354                        [context setObject:messageString forKey:@"description"]; 
    355355                        [context setObject:[NSImage imageNamed:@"activityNewImportant"] forKey:@"image"]; 
    356                         [[JVNotificationController defaultManager] performNotification:@"JVChatNoticeMessage" withContextInfo:context]; 
     356                        NSString *type = ( hideFromUser ? @"JVChatUnhandledNoticeMessage" : @"JVChatNoticeMessage" ); 
     357                        [[JVNotificationController defaultManager] performNotification:type withContextInfo:context]; 
    357358                } 
    358359        } 
  • trunk/Resources/cc.javelin.colloquy.plist

    r2415 r2435  
    135135                <string>Stoof.aiff</string> 
    136136        </dict> 
    137         <key>JVNotificationSettings JVChatNoticeMessage</key> 
     137        <key>JVNotificationSettings JVChatUnhandledNoticeMessage</key> 
    138138        <dict> 
    139139                <key>showBubble</key> 
  • trunk/Resources/notifications.plist

    r2414 r2435  
    147147        <dict> 
    148148                <key>identifier</key> 
     149                <string>JVChatUnhandledNoticeMessage</string> 
     150                <key>title</key> 
     151                <string>Unhandled Notice Message</string> 
     152        </dict> 
     153        <dict> 
     154                <key>identifier</key> 
    149155                <string>JVChatMentioned</string> 
    150156                <key>title</key>