From a9d00f9495c270908859939a574e584c6dfffc42 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Tue, 25 Aug 1998 20:33:07 +0000 Subject: [PATCH] Removed old constant for location bar (from 3.0 days), using new one everywhere. --- cmd/macfe/gui/CBrowserWindow.cp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/macfe/gui/CBrowserWindow.cp b/cmd/macfe/gui/CBrowserWindow.cp index 9c716c6a1cda..cea6c6a6d7ab 100644 --- a/cmd/macfe/gui/CBrowserWindow.cp +++ b/cmd/macfe/gui/CBrowserWindow.cp @@ -350,7 +350,7 @@ void CBrowserWindow::FindCommandStatus( inCommand == cmd_Home || inCommand == cmd_Close || inCommand == cmd_ToggleToolbar || - inCommand == cmd_ToggleURLField || + inCommand == cmd_ToggleLocationBar || inCommand == cmd_Reload || inCommand == cmd_LoadImages || inCommand == cmd_Stop @@ -454,7 +454,7 @@ void CBrowserWindow::FindCommandStatus( ::GetIndString(outName, BROWSER_MENU_TOGGLE_STRINGS_ID, (mToolbarShown[eNavigationBar] ? HIDE_NAVIGATION_TOOLBAR_STRING : SHOW_NAVIGATION_TOOLBAR_STRING)); break; - case cmd_ToggleURLField: + case cmd_ToggleLocationBar: outEnabled = (mContext) ? !(mIsRootDocInfo || mIsViewSource || mIsHTMLHelp || PREF_PrefIsLocked(Pref_ShowLocationBar)) : true; ::GetIndString(outName, BROWSER_MENU_TOGGLE_STRINGS_ID, (mToolbarShown[eLocationBar] ? HIDE_LOCATION_TOOLBAR_STRING : SHOW_LOCATION_TOOLBAR_STRING)); break; @@ -622,7 +622,7 @@ Boolean CBrowserWindow::ObeyCommand( cmdHandled = true; break; - case cmd_ToggleURLField: + case cmd_ToggleLocationBar: ToggleDragBar(Location_Bar_PaneID, eLocationBar, Pref_ShowLocationBar); cmdHandled = true; break;