Fix crash [Not part of build]

git-svn-id: svn://10.0.0.236/trunk@98104 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ben%netscape.com
2001-06-28 00:25:28 +00:00
parent b5868e6324
commit a6cd3dc4a7
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)