new command for general toolbar buttons in FindCommandStatus.

This commit is contained in:
pinkerton%netscape.com 1998-10-06 20:54:37 +00:00
Родитель ecc7076729
Коммит 0f4129de50
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -472,6 +472,12 @@ void CBrowserWindow::FindCommandStatus(
outEnabled = (mContext) ? !(mIsRootDocInfo || mIsViewSource || mIsHTMLHelp) : true;
break;
case cmd_ToolbarButton:
// we always want the toolbar buttons that don't correspond to any real command (that are
// either HT containers or just simple url's) to be enabled and clickable.
outEnabled = true;
break;
case cmd_Stop:
{
// Default name is STOP_LOADING_INDEX