Diff for /chimera/MainController.mm between versions 1.39 and 1.43

version 1.39, 2002/04/12 19:45:37 version 1.43, 2002/04/16 00:28:33
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 305  static const char* ioServiceContractID = Line 307  static const char* ioServiceContractID =
 {  {
     NSWindow* keyWindow = [mApplication keyWindow];      NSWindow* keyWindow = [mApplication keyWindow];
     if (keyWindow)      if (keyWindow)
      [[keyWindow windowController] addBookmark];      [[keyWindow windowController] addBookmarkExtended: YES];
 }  }
   
 -(IBAction) openMenuBookmark:(id)aSender  -(IBAction) openMenuBookmark:(id)aSender
Line 319  static const char* ioServiceContractID = Line 321  static const char* ioServiceContractID =
     BookmarksService::OpenMenuBookmark([keyWindow windowController], aSender);      BookmarksService::OpenMenuBookmark([keyWindow windowController], aSender);
 }  }
   
   -(IBAction)manageBookmarks: (id)aSender
   {
     NSWindow* keyWindow = [mApplication keyWindow];
     if (!keyWindow) {
       [self openBrowserWindowWithURLString: @"about:blank"];
       keyWindow = [mApplication keyWindow];
     }
   
     [[keyWindow windowController] manageBookmarks: aSender];
   }
   
 - (MVPreferencesController *)preferencesController  - (MVPreferencesController *)preferencesController
 {  {
     if (!preferencesController) {      if (!preferencesController) {
Line 351  static const char* ioServiceContractID = Line 364  static const char* ioServiceContractID =
           
 }  }
   
   - (IBAction)biggerTextSize:(id)aSender
   {
     NSWindow* keyWindow = [mApplication keyWindow];
     if (keyWindow)
       [[keyWindow windowController] biggerTextSize];
   }
   
   - (IBAction)smallerTextSize:(id)aSender
   {
     NSWindow* keyWindow = [mApplication keyWindow];
     if (keyWindow)
       [[keyWindow windowController] smallerTextSize];
   }
   
   - (IBAction)toggleSmoothText:(id)aSender
   {
     // XXXdwh Grab the prefs service and just set the pref directly.
     
   }
   
   
 @end  @end

Removed from v.1.39  
changed lines
  Added in v.1.43


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