Bug 425640 - Bad check-in in nsBrowserGlue (TYPO FIX FROM BUG 419315, for mak77@supereva.it, r=dietrich)

This commit is contained in:
dietrich@mozilla.com 2008-03-28 09:43:17 -07:00
parent 9b3a335c69
commit f731cd8523

View File

@ -383,6 +383,13 @@ BrowserGlue.prototype = {
/** /**
* Initialize Places * Initialize Places
* - imports the bookmarks html file if bookmarks datastore is empty * - imports the bookmarks html file if bookmarks datastore is empty
*
* These prefs are set by the backend services upon creation (or recreation)
* of the Places db:
* - browser.places.importBookmarksHTML
* Set to false by the history service to indicate we need to re-import.
* - browser.places.createdSmartBookmarks
* Set during HTML import to indicate that the queries were created.
*/ */
_initPlaces: function bg__initPlaces() { _initPlaces: function bg__initPlaces() {
// we need to instantiate the history service before we check the // we need to instantiate the history service before we check the
@ -401,14 +408,6 @@ BrowserGlue.prototype = {
} catch(ex) {} } catch(ex) {}
if (!importBookmarks) { if (!importBookmarks) {
+ /**
+ * These prefs are set by the backend services upon creation (or recreation)
+ * of the Places db:
+ * - browser.places.importBookmarksHTML
+ * Set to false by the history service to indicate we need to re-import.
+ * - browser.places.createdSmartBookmarks
+ * Set during HTML import to indicate that the queries were created.
+ */
// Call it here for Fx3 profiles created before the Places folder // Call it here for Fx3 profiles created before the Places folder
// has been added, otherwise it's called during import. // has been added, otherwise it's called during import.
this.ensurePlacesDefaultQueriesInitialized(); this.ensurePlacesDefaultQueriesInitialized();