Changeset 4273

Show
Ignore:
Timestamp:
06/09/06 19:37:11 (2 years ago)
Author:
morris
Message:

Correctly save window layouts when quitting app

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/English.lproj/ReleaseNotes.rtf

    r4272 r4273  
    4141- Fix disabled buttons in private chat topic dialog\ 
    4242- Fix a queueing problem where a second download transfer would be started when an upload transfer finished\ 
    43 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 
    44  
    45 \f0\b \cf2 \ 
     43- Fix a problem where the window layout was not saved when quitting the application 
     44\f0\b \cf2 \ 
     45\ 
    46461.3\ 
    47 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural 
    4847 
    4948\f1\b0 \cf0 - Make binary universal\ 
  • WiredClient/trunk/WCConnectionController.m

    r4057 r4273  
    9999        _connection = connection; 
    100100         
     101        [[NSNotificationCenter defaultCenter] 
     102                addObserver:self 
     103                   selector:@selector(_WC_applicationWillTerminate:) 
     104                           name:NSApplicationWillTerminateNotification]; 
     105 
    101106        [_connection addObserver:self 
    102107                                        selector:@selector(_connectionWillTerminate:) 
     
    196201 
    197202#pragma mark - 
     203 
     204- (void)_WC_applicationWillTerminate:(NSNotification *)notification { 
     205        [self _saveWindowTemplate]; 
     206} 
     207 
     208 
    198209 
    199210- (void)_WC_windowWillClose:(NSNotification *)notification {