Diff for /chimera/BrowserWindowController.mm between versions 1.71 and 1.72

version 1.71, 2002/04/19 18:04:05 version 1.72, 2002/04/19 19:28:43
Line 511  static NSString *PrintToolbarItemIdentif Line 511  static NSString *PrintToolbarItemIdentif
 - (void)addBookmarkExtended: (BOOL)aIsFromMenu isFolder:(BOOL)aIsFolder  - (void)addBookmarkExtended: (BOOL)aIsFromMenu isFolder:(BOOL)aIsFolder
 {  {
   [mSidebarBookmarksDataSource ensureBookmarks];    [mSidebarBookmarksDataSource ensureBookmarks];
  [mSidebarBookmarksDataSource addBookmark: self useSelection: !aIsFromMenu isFolder: aIsFolder];  BOOL useSel = aIsFromMenu;
   if (aIsFromMenu) {
     // Use selection only if the sidebar is open and the bookmarks panel is displaying.
     if ([mSidebarDrawer state] == NSDrawerClosedState)
       useSel = NO;
     else
       if ([mSidebarTabView tabViewItemAtIndex: 0] != [mSidebarTabView selectedTabViewItem])
         useSel = NO;
   }
   
   [mSidebarBookmarksDataSource addBookmark: self useSelection: useSel isFolder: aIsFolder];
 }  }
   
 - (IBAction)back:(id)aSender  - (IBAction)back:(id)aSender
Line 797  static NSString *PrintToolbarItemIdentif Line 807  static NSString *PrintToolbarItemIdentif
   return mAddBookmarkFolderField;    return mAddBookmarkFolderField;
 }  }
   
   -(id)getAddBookmarkCheckbox
   {
     return mAddBookmarkCheckbox;
   }
   
 // 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.71  
changed lines
  Added in v.1.72


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