mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +00:00
Removed old constant for location bar (from 3.0 days), using new one everywhere.
This commit is contained in:
parent
7e2acf9d0a
commit
a9d00f9495
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user