Diff for /chimera/MainController.mm between versions 1.38 and 1.40

version 1.38, 2002/04/09 17:17:11 version 1.40, 2002/04/14 00:08:17
Line 155  static const char* ioServiceContractID = Line 155  static const char* ioServiceContractID =
         [[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:url];          [[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:url];
         // ----------------------          // ----------------------
         NSWindow* keyWindow = [mApplication keyWindow];          NSWindow* keyWindow = [mApplication keyWindow];
        if (keyWindow)        if (keyWindow) {
            return [[keyWindow windowController] loadURL: url];          [[keyWindow windowController] loadURL: url];
           [[[[keyWindow windowController] getMyBrowserView] getBrowserView] setActive: YES];
         }
         else          else
            [self openBrowserWindowWithURL: url];          [self openBrowserWindowWithURL: url];
     }      }
 }  }
   
Line 232  static const char* ioServiceContractID = Line 234  static const char* ioServiceContractID =
   [mFindDialog showWindow:self];    [mFindDialog showWindow:self];
 }  }
   
   
   //
   // -findAgain
   //
   // Called in response to "Find Again" in edit menu. Tells the find controller
   // to find the next occurrance of what's already been found.
   //
 -(IBAction) findAgain:(id)aSender  -(IBAction) findAgain:(id)aSender
 {  {
    NSWindow* keyWindow = [mApplication keyWindow];  if ( mFindDialog )
    if (keyWindow)    [mFindDialog findAgain:aSender];
      [[keyWindow windowController] findAgain];  else
     NSBeep();
 }  }
   
 -(IBAction) goBack:(id)aSender  -(IBAction) goBack:(id)aSender

Removed from v.1.38  
changed lines
  Added in v.1.40


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