Diff for /chimera/BrowserWindowController.mm between versions 1.30 and 1.31

version 1.30, 2002/02/12 00:18:34 version 1.31, 2002/02/12 01:47:57
Line 326  static NSString *PrintToolbarItemIdentif Line 326  static NSString *PrintToolbarItemIdentif
   
 - (IBAction)toggleSidebar:(id)aSender  - (IBAction)toggleSidebar:(id)aSender
 {  {
    if ( ([mSidebarDrawer state] == NSDrawerClosedState) || ([mSidebarDrawer state] == NSDrawerClosingState) ) {    NSLog(@"The sidebar drawer is: %@", mSidebarDrawer);
     if ( ([mSidebarDrawer state] == NSDrawerClosedState) || ([mSidebarDrawer state] == NSDrawerClosingState) )  {
         NSLog(@"opening drawer");
         [mSidebarDrawer open];          [mSidebarDrawer open];
     } else {      } else {
           NSLog(@"closing drawer");
         [mSidebarDrawer close];          [mSidebarDrawer close];
     }      }
 }  }
Line 381  static NSString *PrintToolbarItemIdentif Line 384  static NSString *PrintToolbarItemIdentif
             [self focusURLBar];              [self focusURLBar];
         }           } 
     }      }
       
       //XXXdwh Do this if we ever support auto-hide.
       //if ([mTabBrowser numberOfTabViewItems] == 2)
       //    [mTabBrowser setTabViewType: NSTopTabsBezelBorder];
 }  }
   
 - (void)tabView:(NSTabView *)aTabView didSelectTabViewItem:(NSTabViewItem *)aTabViewItem  - (void)tabView:(NSTabView *)aTabView didSelectTabViewItem:(NSTabViewItem *)aTabViewItem
Line 396  static NSString *PrintToolbarItemIdentif Line 403  static NSString *PrintToolbarItemIdentif
         progress: mProgress windowController: self];          progress: mProgress windowController: self];
 }  }
   
   -(MyBrowserView*)getMyBrowserView
   {
       return mBrowserView;
   }
 @end  @end
   

Removed from v.1.30  
changed lines
  Added in v.1.31


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