Changeset 3307
- Timestamp:
- 06/17/06 20:19:25 (2 years ago)
- Files:
-
- trunk/Controllers/MVConnectionsController.m (modified) (3 diffs)
- trunk/Languages/Dutch.lproj/JVGeneralPreferences.nib/info.nib (modified) (2 diffs)
- trunk/Languages/Dutch.lproj/JVGeneralPreferences.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/English.lproj/JVGeneralPreferences.nib/info.nib (modified) (3 diffs)
- trunk/Languages/English.lproj/JVGeneralPreferences.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/French.lproj/JVGeneralPreferences.nib/info.nib (modified) (2 diffs)
- trunk/Languages/French.lproj/JVGeneralPreferences.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/German.lproj/JVGeneralPreferences.nib/info.nib (modified) (2 diffs)
- trunk/Languages/German.lproj/JVGeneralPreferences.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/Italian.lproj/JVGeneralPreferences.nib/info.nib (modified) (2 diffs)
- trunk/Languages/Italian.lproj/JVGeneralPreferences.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/pt_PT.lproj/JVGeneralPreferences.nib/info.nib (modified) (3 diffs)
- trunk/Languages/pt_PT.lproj/JVGeneralPreferences.nib/keyedobjects.nib (modified) (previous)
- trunk/Languages/zh_TW.lproj/JVGeneralPreferences.nib/info.nib (modified) (1 diff)
- trunk/Languages/zh_TW.lproj/JVGeneralPreferences.nib/keyedobjects.nib (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Controllers/MVConnectionsController.m
r3276 r3307 644 644 if( ! connection ) return; 645 645 646 [connection disconnect]; 646 NSString *quitMessage = [[NSUserDefaults standardUserDefaults] stringForKey:@"JVQuitMessage"]; 647 NSAttributedString *quitMessageString = [[NSAttributedString alloc] initWithString:quitMessage]; 648 [connection disconnectWithReason:quitMessageString]; 649 [quitMessageString release]; 650 647 651 [self _deregisterNotificationsForConnection:connection]; 648 652 … … 662 666 663 667 MVChatConnection *oldConnection = [[[[_bookmarks objectAtIndex:index] objectForKey:@"connection"] retain] autorelease]; 664 [oldConnection disconnect]; 668 NSString *quitMessage = [[NSUserDefaults standardUserDefaults] stringForKey:@"JVQuitMessage"]; 669 NSAttributedString *quitMessageString = [[NSAttributedString alloc] initWithString:quitMessage]; 670 [oldConnection disconnectWithReason:quitMessageString]; 671 [quitMessageString release]; 672 665 673 [self _deregisterNotificationsForConnection:connection]; 666 674 … … 1810 1818 int row = [connections selectedRow]; 1811 1819 if( row == -1 ) return; 1812 [[[_bookmarks objectAtIndex:row] objectForKey:@"connection"] disconnect]; 1820 1821 NSString *quitMessage = [[NSUserDefaults standardUserDefaults] stringForKey:@"JVQuitMessage"]; 1822 NSAttributedString *quitMessageString = [[NSAttributedString alloc] initWithString:quitMessage]; 1823 [[[_bookmarks objectAtIndex:row] objectForKey:@"connection"] disconnectWithReason:quitMessageString]; 1824 [quitMessageString release]; 1813 1825 } 1814 1826 trunk/Languages/Dutch.lproj/JVGeneralPreferences.nib/info.nib
r2997 r3307 8 8 <dict> 9 9 <key>5</key> 10 <string> 307 388 470 2240 0 1024 746 </string>10 <string>254 175 470 240 0 0 1024 746 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> 13 <string>4 39.0</string>13 <string>446.1</string> 14 14 <key>IBGroupedObjects</key> 15 15 <dict> … … 42 42 </array> 43 43 <key>IBSystem Version</key> 44 <string>8 C46</string>44 <string>8I127</string> 45 45 </dict> 46 46 </plist> trunk/Languages/English.lproj/JVGeneralPreferences.nib/info.nib
r2744 r3307 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string> 21 551 356 240 0 0 1280 832</string>6 <string>15 471 356 240 0 0 1024 746 </string> 7 7 <key>IBEditorPositions</key> 8 8 <dict> 9 9 <key>5</key> 10 <string> 367 458 545 224 0 0 1280 832</string>10 <string>224 341 545 244 0 0 1024 746 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> 13 <string>4 37.0</string>13 <string>446.1</string> 14 14 <key>IBGroupedObjects</key> 15 15 <dict> … … 38 38 <string>13</string> 39 39 <key>IBLockedObjects</key> 40 <array> 41 <integer>6</integer> 42 <integer>5</integer> 43 </array> 40 <array/> 44 41 <key>IBOpenObjects</key> 45 42 <array> … … 47 44 </array> 48 45 <key>IBSystem Version</key> 49 <string>8 B15</string>46 <string>8I127</string> 50 47 </dict> 51 48 </plist> trunk/Languages/French.lproj/JVGeneralPreferences.nib/info.nib
r3040 r3307 8 8 <dict> 9 9 <key>5</key> 10 <string>18 9 343 555 2240 0 1024 746 </string>10 <string>187 322 552 241 0 0 1024 746 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> 13 <string>4 39.0</string>13 <string>446.1</string> 14 14 <key>IBGroupedObjects</key> 15 15 <dict> … … 44 44 </array> 45 45 <key>IBSystem Version</key> 46 <string>8 C46</string>46 <string>8I127</string> 47 47 </dict> 48 48 </plist> trunk/Languages/German.lproj/JVGeneralPreferences.nib/info.nib
r2749 r3307 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string> 21 551 356 240 0 0 1280 832</string>6 <string>15 471 356 240 0 0 1024 746 </string> 7 7 <key>IBEditorPositions</key> 8 8 <dict> 9 9 <key>5</key> 10 <string> 367 458 545 224 0 0 1280 832</string>10 <string>177 375 545 241 0 0 1024 746 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> 13 <string>4 37.0</string>13 <string>446.1</string> 14 14 <key>IBLockedObjects</key> 15 <array> 16 <integer>6</integer> 17 <integer>5</integer> 18 </array> 15 <array/> 19 16 <key>IBOpenObjects</key> 20 17 <array> … … 22 19 </array> 23 20 <key>IBSystem Version</key> 24 <string>8 B15</string>21 <string>8I127</string> 25 22 </dict> 26 23 </plist> trunk/Languages/Italian.lproj/JVGeneralPreferences.nib/info.nib
r3225 r3307 8 8 <dict> 9 9 <key>5</key> 10 <string>2 27 411 545 2240 0 1024 746 </string>10 <string>202 349 545 271 0 0 1024 746 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> 13 <string>44 3.0</string>13 <string>446.1</string> 14 14 <key>IBGroupedObjects</key> 15 15 <dict> … … 38 38 <string>13</string> 39 39 <key>IBLockedObjects</key> 40 <array> 41 <integer>6</integer> 42 <integer>5</integer> 43 </array> 40 <array/> 44 41 <key>IBOpenObjects</key> 45 42 <array> trunk/Languages/pt_PT.lproj/JVGeneralPreferences.nib/info.nib
r2997 r3307 8 8 <dict> 9 9 <key>5</key> 10 <string> -4 442 545 224 0 0 1024 746 </string>10 <string>203 371 545 244 0 0 1024 746 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> 13 <string>4 39.0</string>13 <string>446.1</string> 14 14 <key>IBGroupedObjects</key> 15 15 <dict> … … 38 38 <string>13</string> 39 39 <key>IBLockedObjects</key> 40 <array> 41 <integer>6</integer> 42 <integer>5</integer> 43 </array> 40 <array/> 44 41 <key>IBOpenObjects</key> 45 42 <array> … … 47 44 </array> 48 45 <key>IBSystem Version</key> 49 <string>8 C46</string>46 <string>8I127</string> 50 47 </dict> 51 48 </plist> trunk/Languages/zh_TW.lproj/JVGeneralPreferences.nib/info.nib
r3062 r3307 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string> 21 551 356 240 0 0 1280 832</string>6 <string>15 471 356 240 0 0 1024 746 </string> 7 7 <key>IBEditorPositions</key> 8 8 <dict> 9 9 <key>5</key> 10 <string> 367 458 545 224 0 0 1280 832</string>10 <string>197 382 545 241 0 0 1024 746 </string> 11 11 </dict> 12 12 <key>IBFramework Version</key> 13 <string>44 3.0</string>13 <string>446.1</string> 14 14 <key>IBLockedObjects</key> 15 <array/> 16 <key>IBOpenObjects</key> 15 17 <array> 16 <integer>6</integer>17 18 <integer>5</integer> 18 19 </array> 19 20 <key>IBSystem Version</key> 20 <string>8 F46</string>21 <string>8I127</string> 21 22 </dict> 22 23 </plist>
