Removed Guide submenu (rev saari, appr sdagley)

git-svn-id: svn://10.0.0.236/trunk@6775 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com
1998-07-29 21:18:56 +00:00
parent 351854c5e9
commit de0e98511d
2 changed files with 7 additions and 5 deletions

View File

@@ -35,9 +35,6 @@
#include <Icons.h>
#include <Sound.h>
#define PERM_BOOKMARK_ITEMS 4
const CommandT cmd_BookmarkHierItem = BOOKMARKS_MENU_BASE_LAST;
LMenu *CBookmarksAttachment::sMenu = NULL;
Boolean CBookmarksAttachment::sInvalidMenu = true;
@@ -45,6 +42,8 @@ LArray CBookmarksAttachment::sMenusList; // this will use the default constructo
HT_View CBookmarksAttachment::sQuickfileView = NULL;
const uint32 PERM_BOOKMARK_ITEMS = 2;
const CommandT cmd_BookmarkHierItem = BOOKMARKS_MENU_BASE_LAST;
//===========================================================
@@ -384,7 +383,8 @@ void CBookmarksAttachment::InstallMenus()
}
StValueChanger<EDebugAction> okayToFail(gDebugThrow, debugAction_Nothing);
currentMenuBar->InstallMenu(sMenu, InstallMenu_AtEnd);
#if 0
// no more Guide menu. Leave this here in case mktg wants to replace it with something (pinkerton).
LMenu *directoryMenu = currentMenuBar->FetchMenu(cDirectoryMenuID);
if (directoryMenu)
@@ -394,6 +394,7 @@ void CBookmarksAttachment::InstallMenus()
for (short index2 = CountMItems(directoryMenu->GetMacMenuH()); index2 > 0; --index2)
directoryMenu->SetCommand(index2, DIR_MENU_BASE + index2 - 1);
}
#endif
}
}
}

View File

@@ -32,6 +32,7 @@
#include <LMenu.h>
#include <LArray.h>
/***********************************************************************************
* CBookmarksAttachment
* Processes bookmark menu commands -- should be attached to application
@@ -44,7 +45,6 @@ public:
// ¥¥Êevents
virtual void ExecuteSelf( MessageT inMessage, void* ioParam );
// static void AddToBookmarks( BM_Entry* newBookmark );
static void AddToBookmarks( const char* url, const CStr255& title );
static LMenu* GetMenu();
@@ -57,6 +57,7 @@ public:
void InitQuickfileView ( ) ;
protected:
static void FillMenuFromList( HT_Resource top, LMenu* newMenu, int& nextMenuID, int whichItem, int depth );
virtual void HandleNotification( HT_Notification notifyStruct, HT_Resource node, HT_Event event, void *token, uint32 tokenType);