mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 23:25:03 +00:00
handle view source and tree view file menu commands.
This commit is contained in:
parent
b57ff4cf31
commit
163ee6e30c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user