mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Fix crash [Not part of build]
This commit is contained in:
parent
1afb536dae
commit
07ea513dfb
@ -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) {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user