Ticket #715: colloquy_715.2.patch
| File colloquy_715.2.patch, 1.5 KB (added by Gurpartap Singh, 3 years ago) |
|---|
-
Controllers/JVChatWindowController.m
253 253 } 254 254 255 255 - (IBAction) closeCurrentPanel:(id) sender { 256 if( [[NSUserDefaults standardUserDefaults] boolForKey:@"JVConfirmBeforeLeavingAChatRoom"] == 1 ) { 257 if( NSRunCriticalAlertPanelRelativeToWindow( NSLocalizedString( @"Are you sure you want to part from current chat room?", "are you sure you want to part current chat room dialog title" ), NSLocalizedString( @"You will exit from current room and lose any unsaved chat transcripts. Do you want to proceed?", "confirm close of part message" ), NSLocalizedString( @"Close", "close button" ), NSLocalizedString( @"Cancel", "close button" ), nil, [self window] ) == NSCancelButton ) 258 return; 259 } 260 256 261 if( [[self allChatViewControllers] count] == 1 ) [[self window] performClose:sender]; 257 262 else [[JVChatController defaultController] disposeViewController:_activeViewController]; 258 263 } -
Resources/info.colloquy.plist
30 30 <true/> 31 31 <key>JVEnableAutomaticSoftwareUpdateCheck</key> 32 32 <true/> 33 <key>JVConfirmBeforeLeavingAChatRoom</key> 34 <true/> 33 35 <key>JVChatSpellChecking</key> 34 36 <true/> 35 37 <key>JVChatMaximumHistory</key>
