handle view source and tree view file menu commands.

This commit is contained in:
pinkerton%netscape.com 1998-12-03 17:59:13 +00:00
parent b57ff4cf31
commit 163ee6e30c

View File

@ -138,7 +138,7 @@ void nsNativeViewerApp::DispatchMenuItemWithoutWindow(PRInt32 menuResult)
break;
}
break;
}
}
}
#pragma mark -
@ -200,6 +200,8 @@ nsNativeBrowserWindow::DispatchMenuItem(PRInt32 aID)
nsIWidget* raptorWindow = *(nsIWidget**)::GetWRefCon(whichwindow);
raptorWindow->Destroy();
break;
case 2000: xpID = VIEW_SOURCE; break;
case 2001: xpID = VIEWER_TREEVIEW; break;
case cmd_Save: /*n.a.*/ break;
case cmd_SaveAs: /*n.a.*/ break;
case cmd_Revert: /*n.a.*/ break;