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

version 1.33, 2002/02/20 01:33:48 version 1.34, 2002/02/21 08:59:58
Line 46  static NSString *PrintToolbarItemIdentif Line 46  static NSString *PrintToolbarItemIdentif
 - (void)windowDidLoad  - (void)windowDidLoad
 {  {
     mInitialized = YES;      mInitialized = YES;
       [[self window] setAcceptsMouseMovedEvents: YES];
       
     [self setupToolbar];      [self setupToolbar];
   
     // Our initial view is our primary view.  Connect it up.      // Our initial view is our primary view.  Connect it up.
Line 332  static NSString *PrintToolbarItemIdentif Line 334  static NSString *PrintToolbarItemIdentif
   
 - (IBAction)toggleSidebar:(id)aSender  - (IBAction)toggleSidebar:(id)aSender
 {  {
     // XXXHack to bypass sidebar crashes.  
     [[self window] makeFirstResponder: mURLBar];  
       
     if ( ([mSidebarDrawer state] == NSDrawerClosedState) || ([mSidebarDrawer state] == NSDrawerClosingState) )  {      if ( ([mSidebarDrawer state] == NSDrawerClosedState) || ([mSidebarDrawer state] == NSDrawerClosingState) )  {
           // XXXHack to bypass sidebar crashes.
           [[self window] makeFirstResponder: nil];
         [mSidebarDrawer open];          [mSidebarDrawer open];
     } else {      } else {
         [mSidebarDrawer close];          [mSidebarDrawer close];

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


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