Changeset 2484
- Timestamp:
- 03/18/05 14:12:42 (4 years ago)
- Files:
-
- trunk/Languages/English.lproj/Colloquy.nib/classes.nib (modified) (1 diff)
- trunk/Languages/English.lproj/Colloquy.nib/info.nib (modified) (1 diff)
- trunk/Languages/English.lproj/Colloquy.nib/keyedobjects.nib (modified) (previous)
- trunk/MVApplicationController.h (modified) (1 diff)
- trunk/MVApplicationController.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Languages/English.lproj/Colloquy.nib/classes.nib
r2241 r2484 6 6 clearDisplay = id; 7 7 closeCurrentPanel = id; 8 copyStripped = id; 8 9 detachCurrentPanel = id; 9 10 findNext = id; trunk/Languages/English.lproj/Colloquy.nib/info.nib
r2463 r2484 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string> 53 77 356 240 0 0 1280 832</string>6 <string>38 66 356 240 0 0 1024 746 </string> 7 7 <key>IBEditorPositions</key> 8 8 <dict> 9 9 <key>29</key> 10 <string>2 9 598 366 44 0 0 1280 832</string>10 <string>21 533 383 44 0 0 1024 746 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> 13 <string>364.0</string> 14 <key>IBOpenObjects</key> 15 <array> 16 <integer>29</integer> 17 </array> 13 <string>437.0</string> 14 <key>IBOldestOS</key> 15 <integer>3</integer> 18 16 <key>IBSystem Version</key> 19 <string> 7W77</string>17 <string>8A414</string> 20 18 </dict> 21 19 </plist> trunk/MVApplicationController.h
r2066 r2484 13 13 - (IBAction) showBuddyList:(id) sender; 14 14 15 - (IBAction) copyStripped:(id) sender; 16 15 17 + (BOOL) isTerminating; 16 18 @end trunk/MVApplicationController.m
r2463 r2484 124 124 #pragma mark - 125 125 126 - (IBAction) copyStripped:(id) sender { 127 if( [NSApp sendAction:@selector(copy:) to:nil from:sender] ) { 128 NSPasteboard *pb = [NSPasteboard generalPasteboard]; 129 if( [[pb types] containsObject:NSStringPboardType] ) { 130 NSMutableString *text = [[pb stringForType:NSStringPboardType] mutableCopy]; 131 if( text ) { 132 unichar chr = 0x200b; 133 NSString *space = [NSString stringWithCharacters:&chr length:1]; 134 [text replaceOccurrencesOfString:space 135 withString:@"" 136 options:NSLiteralSearch 137 range:NSMakeRange(0, [text length])]; 138 139 [pb addTypes:[NSArray arrayWithObject:NSStringPboardType] owner:self]; 140 [pb setString:text forType:NSStringPboardType]; 141 [text release]; 142 } 143 } 144 } 145 } 146 147 #pragma mark - 148 126 149 - (void) setupPreferences { 127 150 static BOOL setupAlready = NO;
