From f4a17df3f129cbd3f6f08dd070ecb5edb8aa1a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Fri, 8 Apr 2016 16:35:28 +0200 Subject: [PATCH] Bug 1248617 - Stop adding the "Recently bookmarked" smart folder in new profiles. r=mak --- browser/components/nsBrowserGlue.js | 14 +------------- .../en-US/chrome/browser/places/places.properties | 1 - 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/browser/components/nsBrowserGlue.js b/browser/components/nsBrowserGlue.js index ea5f3ea5ddce..d8c2bc2f9eea 100644 --- a/browser/components/nsBrowserGlue.js +++ b/browser/components/nsBrowserGlue.js @@ -2223,7 +2223,7 @@ BrowserGlue.prototype = { // be set to the version it has been added in. We will compare its value // to users' smartBookmarksVersion and add new smart bookmarks without // recreating old deleted ones. - const SMART_BOOKMARKS_VERSION = 7; + const SMART_BOOKMARKS_VERSION = 8; const SMART_BOOKMARKS_ANNO = "Places/SmartBookmark"; const SMART_BOOKMARKS_PREF = "browser.places.smartBookmarksVersion"; @@ -2256,18 +2256,6 @@ BrowserGlue.prototype = { parentGuid: PlacesUtils.bookmarks.toolbarGuid, newInVersion: 1 }, - RecentlyBookmarked: { - title: bundle.GetStringFromName("recentlyBookmarkedTitle"), - url: "place:folder=BOOKMARKS_MENU" + - "&folder=UNFILED_BOOKMARKS" + - "&folder=TOOLBAR" + - "&queryType=" + queryOptions.QUERY_TYPE_BOOKMARKS + - "&sort=" + queryOptions.SORT_BY_DATEADDED_DESCENDING + - "&maxResults=" + MAX_RESULTS + - "&excludeQueries=1", - parentGuid: PlacesUtils.bookmarks.menuGuid, - newInVersion: 1 - }, RecentTags: { title: bundle.GetStringFromName("recentTagsTitle"), url: "place:type=" + queryOptions.RESULTS_AS_TAG_QUERY + diff --git a/browser/locales/en-US/chrome/browser/places/places.properties b/browser/locales/en-US/chrome/browser/places/places.properties index 91a9e0d26f53..f83b095c7f0d 100644 --- a/browser/locales/en-US/chrome/browser/places/places.properties +++ b/browser/locales/en-US/chrome/browser/places/places.properties @@ -65,7 +65,6 @@ detailsPane.noItems=No items detailsPane.itemsCountLabel=One item;#1 items mostVisitedTitle=Most Visited -recentlyBookmarkedTitle=Recently Bookmarked recentTagsTitle=Recent Tags OrganizerQueryHistory=History