Bug 463582 - Private browsing menu item does not work with no browser windows open; r=gavin

This commit is contained in:
Ehsan Akhgari 2009-01-09 14:54:17 +03:30
parent 2c38acc533
commit afec68a6a3

View File

@ -1478,11 +1478,16 @@ function nonBrowserWindowDelayedStartup()
// Set up Sanitize Item
initializeSanitizer();
// initialize the private browsing UI
gPrivateBrowsingUI.init();
}
function nonBrowserWindowShutdown()
{
BrowserOffline.uninit();
gPrivateBrowsingUI.uninit();
}
#endif