diff --git a/mozilla/browser/components/places/content/toolbar.xml b/mozilla/browser/components/places/content/toolbar.xml index 24a0cfeff8c..28147cb4ae9 100755 --- a/mozilla/browser/components/places/content/toolbar.xml +++ b/mozilla/browser/components/places/content/toolbar.xml @@ -61,6 +61,9 @@ @@ -71,13 +74,20 @@ this._bms = Cc["@mozilla.org/browser/nav-bookmarks-service;1"]. getService(Ci.nsINavBookmarksService); + this._anno = + Cc["@mozilla.org/browser/annotation-service;1"]. + getService(Ci.nsIAnnotationService); this._bms.addObserver(this._observer, false); var t = this; window.addEventListener("resize", function f(e) { t.updateChevron(e); }, false); - + + this._anno.addObserver(this.genericAnnoObserver); + this.genericAnnoObserver.addObserver("bookmarks/generatedTitle", + this._generatedTitleAnnoObserver); + if (this.hasAttribute("place")) { // Do the initial build. this.place = this.place; @@ -94,6 +104,37 @@ null + + null + + + null + + + + + + + + + +