Diff for /chimera/BrowserWindowController.mm between versions 1.41 and 1.42

version 1.41, 2002/03/03 09:34:52 version 1.42, 2002/03/03 12:53:10
Line 425  static NSString *PrintToolbarItemIdentif Line 425  static NSString *PrintToolbarItemIdentif
     [newTab setView: newView];      [newTab setView: newView];
   
     [mTabBrowser addTabViewItem: newTab];      [mTabBrowser addTabViewItem: newTab];
    
     [[newView getBrowserView] loadURI:[NSURL URLWithString:@"about:blank"] flags:NSLoadFlagsNone];      [[newView getBrowserView] loadURI:[NSURL URLWithString:@"about:blank"] flags:NSLoadFlagsNone];
    
     [mTabBrowser selectLastTabViewItem: self];      [mTabBrowser selectLastTabViewItem: self];
    
     if ( [[[self window] toolbar] isVisible] ) {      if ( [[[self window] toolbar] isVisible] ) {
         if ( ([[[self window] toolbar] displayMode] == NSToolbarDisplayModeIconAndLabel) ||          if ( ([[[self window] toolbar] displayMode] == NSToolbarDisplayModeIconAndLabel) ||
              ([[[self window] toolbar] displayMode] == NSToolbarDisplayModeIconOnly) ) {               ([[[self window] toolbar] displayMode] == NSToolbarDisplayModeIconOnly) ) {
             [self focusURLBar];              [self focusURLBar];
        }         }
     }
 }
 
 -(void)closeTab
 {
     if ( [mTabBrowser numberOfTabViewItems] > 1 ) {
         [mTabBrowser removeTabViewItem:[mTabBrowser selectedTabViewItem]];
     }      }
 }  }
   
   - (void)previousTab
   {
       [mTabBrowser selectPreviousTabViewItem:self];
   }
   
   - (void)nextTab
   {
       [mTabBrowser selectNextTabViewItem:self];
   }
   
 - (void)tabView:(NSTabView *)aTabView didSelectTabViewItem:(NSTabViewItem *)aTabViewItem  - (void)tabView:(NSTabView *)aTabView didSelectTabViewItem:(NSTabViewItem *)aTabViewItem
 {  {
     // Disconnect the old view, if one has been designated.      // Disconnect the old view, if one has been designated.

Removed from v.1.41  
changed lines
  Added in v.1.42


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