Diff for /chimera/BrowserWindowController.mm between versions 1.62 and 1.63

version 1.62, 2002/04/14 08:43:03 version 1.63, 2002/04/14 21:41:21
Line 437  static NSString *PrintToolbarItemIdentif Line 437  static NSString *PrintToolbarItemIdentif
     [[mBrowserView getBrowserView] setActive: YES];      [[mBrowserView getBrowserView] setActive: YES];
 }  }
   
   -(IBAction)cancelAddBookmarkSheet:(id)sender
   {
     [mAddBookmarkSheetWindow orderOut:self];
     [NSApp endSheet:mAddBookmarkSheetWindow returnCode:0];
     [mCachedBMDS endAddBookmark: 0];
   }
   
   -(IBAction)endAddBookmarkSheet:(id)sender
   {
     [mAddBookmarkSheetWindow orderOut:self];
     [NSApp endSheet:mAddBookmarkSheetWindow returnCode:0];
     [mCachedBMDS endAddBookmark: 1];
   }
   
   - (void)cacheBookmarkDS: (id)aDS
   {
     mCachedBMDS = aDS;
   }
   
   -(IBAction)manageBookmarks: (id)aSender
   {
     if (![mSidebarDrawer isOpen])
       [self toggleSidebar: self];
   
     [mSidebarTabView selectFirstTabViewItem:self];
   }
   
 - (IBAction)goToLocationFromToolbarURLField:(id)sender  - (IBAction)goToLocationFromToolbarURLField:(id)sender
 {  {
     [self loadURL:[NSURL URLWithString:[sender stringValue]]];      [self loadURL:[NSURL URLWithString:[sender stringValue]]];
Line 664  static NSString *PrintToolbarItemIdentif Line 691  static NSString *PrintToolbarItemIdentif
                                   withTabIcon:[NSImage imageNamed:@"historyicon"]];                                    withTabIcon:[NSImage imageNamed:@"historyicon"]];
     IconTabViewItem *searchItem = [[IconTabViewItem alloc] initWithIdentifier:@"searchSidebarIconTabViewItem"      IconTabViewItem *searchItem = [[IconTabViewItem alloc] initWithIdentifier:@"searchSidebarIconTabViewItem"
                                   withTabIcon:[NSImage imageNamed:@"searchicon"]];                                    withTabIcon:[NSImage imageNamed:@"searchicon"]];
    IconTabViewItem *panelsItem = [[IconTabViewItem alloc] initWithIdentifier:@"myPanelsIconTabViewItem"
                                   withTabIcon:[NSImage imageNamed:@"panel_icon"]];
     
     [bookItem   setView:[[mSidebarSourceTabView tabViewItemAtIndex:0] view]];      [bookItem   setView:[[mSidebarSourceTabView tabViewItemAtIndex:0] view]];
     [histItem   setView:[[mSidebarSourceTabView tabViewItemAtIndex:1] view]];      [histItem   setView:[[mSidebarSourceTabView tabViewItemAtIndex:1] view]];
     [searchItem setView:[[mSidebarSourceTabView tabViewItemAtIndex:2] view]];      [searchItem setView:[[mSidebarSourceTabView tabViewItemAtIndex:2] view]];
       [panelsItem setView:[[mSidebarSourceTabView tabViewItemAtIndex:3] view]];
   
       [mSidebarTabView removeTabViewItem:[mSidebarTabView tabViewItemAtIndex:0]];
       
     [mSidebarTabView insertTabViewItem:bookItem   atIndex:0];      [mSidebarTabView insertTabViewItem:bookItem   atIndex:0];
     [mSidebarTabView insertTabViewItem:histItem   atIndex:1];      [mSidebarTabView insertTabViewItem:histItem   atIndex:1];
     [mSidebarTabView insertTabViewItem:searchItem atIndex:2];      [mSidebarTabView insertTabViewItem:searchItem atIndex:2];
    [mSidebarTabView insertTabViewItem:panelsItem atIndex:3];
     
     [mSidebarTabView selectFirstTabViewItem:self];      [mSidebarTabView selectFirstTabViewItem:self];
 }  }
   
Line 681  static NSString *PrintToolbarItemIdentif Line 714  static NSString *PrintToolbarItemIdentif
   mChromeMask = aMask;    mChromeMask = aMask;
 }  }
   
   -(id)getAddBookmarkSheetWindow
   {
     return mAddBookmarkSheetWindow;
   }
   
   -(id)getAddBookmarkTitle
   {
     return mAddBookmarkTitleField;
   }
   
   -(id)getAddBookmarkFolder
   {
     return mAddBookmarkFolderField;
   }
   
 // Called when a context menu should be shown.  // Called when a context menu should be shown.
 - (void)onShowContextMenu:(int)flags domEvent:(nsIDOMEvent*)aEvent domNode:(nsIDOMNode*)aNode  - (void)onShowContextMenu:(int)flags domEvent:(nsIDOMEvent*)aEvent domNode:(nsIDOMNode*)aNode
 {  {

Removed from v.1.62  
changed lines
  Added in v.1.63


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