Fix crash [Not part of build]

This commit is contained in:
ben%netscape.com 2001-06-28 00:25:28 +00:00
parent 1afb536dae
commit 07ea513dfb
2 changed files with 3 additions and 3 deletions

View File

@ -121,10 +121,11 @@ namespace Silverstone.Manticore.BrowserWindow
mToolbarBuilder = new BrowserToolbarBuilder("browser\\browser-toolbar.xml", mCommandHandler, this);
mToolbarBuilder.Build();
LoadStartPage();
// Start Page handler
this.VisibleChanged += new EventHandler(LoadStartPage);
}
private void LoadStartPage()
private void LoadStartPage(object sender, EventArgs e)
{
int startMode = application.Prefs.GetIntPref("browser.homepage.mode");
switch (startMode) {

View File

@ -63,7 +63,6 @@ namespace Silverstone.Manticore.LayoutAbstraction
{
if (gecko == null && trident == null)
SwitchLayoutEngine("gecko"); // XXX Should be pref-based.
Show();
}
public void SwitchLayoutEngine(String id)