consolodate some commands into Netscape_constants and add a new one for general toolbar buttons.

This commit is contained in:
pinkerton%netscape.com 1998-10-06 20:54:03 +00:00
parent 1dcc4f0686
commit 433883db7c
2 changed files with 5 additions and 8 deletions

View File

@ -71,10 +71,14 @@ typedef enum {
// Browser File Menu cmd id's
const CommandT cmd_OpenURL = 1032;
// Browser Go Menu cmd id's
// Browser Toolbar Button cmd id's
const CommandT cmd_GoForward = 1005;
const CommandT cmd_GoBack = 1006;
const CommandT cmd_Home = 1009;
const CommandT cmd_Stop = 1016;
const CommandT cmd_NetSearch = 1080; // load a search page
const CommandT cmd_ToolbarButton = 'Tlbr'; // a container or url button, always enabled.
const CommandT cmd_Reload = 1004; // Reload the URL in the top window
// other cmd id's
const CommandT cmd_PageServices = 1195;

View File

@ -75,18 +75,13 @@
#define cmd_Preferences 1001
#define cmd_EditNetwork 1002 // Edit Network Prefs
#define cmd_EditSecurity 1003 // Edit Security Prefs
#define cmd_Reload 1004 // Reload the URL in the top window
//#define cmd_GoForward 1005 // Go forward
#define cmd_Back 1006 // Go back
#define cmd_ViewSource 1007 // View source. Handled by hyperWindow
#define cmd_MailTo 1008 // Mail to
//#define cmd_Home 1009 // Go home
#define cmd_DelayImages 1010 // Delay image loading
#define cmd_LoadImages 1011 // Load all images
#define cmd_ReloadImage 1013 // Reload images
#define cmd_Find 1014 // Find
#define cmd_FindAgain 1015 // Find again
#define cmd_Stop 1016
#define cmd_ToggleToolbar 1017
#define cmd_ToggleLocationBar 1018 // The 4.0 and later terminology
#define cmd_TogglePersonalToolbar 1199
@ -116,8 +111,6 @@
#define cmd_NewFolder 1048
#define cmd_NetSearch 1080
#ifdef FORTEZZA
#define cmd_FortezzaCard 1095
#define cmd_FortezzaChange 1096