Diff for /chimera/BrowserWindowController.mm between versions 1.32 and 1.33

version 1.32, 2002/02/13 02:41:40 version 1.33, 2002/02/20 01:33:48
Line 332  static NSString *PrintToolbarItemIdentif Line 332  static NSString *PrintToolbarItemIdentif
   
 - (IBAction)toggleSidebar:(id)aSender  - (IBAction)toggleSidebar:(id)aSender
 {  {
    NSLog(@"The sidebar drawer is: %@", mSidebarDrawer);    // XXXHack to bypass sidebar crashes.
     [[self window] makeFirstResponder: mURLBar];
     
     if ( ([mSidebarDrawer state] == NSDrawerClosedState) || ([mSidebarDrawer state] == NSDrawerClosingState) )  {      if ( ([mSidebarDrawer state] == NSDrawerClosedState) || ([mSidebarDrawer state] == NSDrawerClosingState) )  {
         NSLog(@"opening drawer");  
         [mSidebarDrawer open];          [mSidebarDrawer open];
     } else {      } else {
         NSLog(@"closing drawer");  
         [mSidebarDrawer close];          [mSidebarDrawer close];
     }      }
 }  }

Removed from v.1.32  
changed lines
  Added in v.1.33


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>