[Pkg-mozext-commits] [tabmixplus] 09/47: Since PlacesUtils available from module, we don't nee to update content title on startup
David Prévot
taffit at moszumanska.debian.org
Fri Sep 26 20:56:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch upstream
in repository tabmixplus.
commit bb2ecf175c6e83120cf169182ff53630585746a5
Author: onemen <tabmix.onemen at gmail.com>
Date: Thu Sep 18 13:15:01 2014 +0300
Since PlacesUtils available from module, we don't nee to update content title on startup
---
chrome/content/places/places.js | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/chrome/content/places/places.js b/chrome/content/places/places.js
index c827730..5c6838b 100644
--- a/chrome/content/places/places.js
+++ b/chrome/content/places/places.js
@@ -474,18 +474,6 @@ var TMP_Places = {
if (!this._titlefrombookmark || !gBrowser.tabs)
return;
- // set title at startup
- // when we are not using session manager
- // startup page(s) or home page(s) load before bookmarks service
- Array.forEach(gBrowser.tabs, function(tab) {
- let browser = tab.linkedBrowser;
- let url = browser.currentURI.spec;
- if (this.isUserRenameTab(tab, url))
- return;
- let bookMarkName = this.getTitleFromBookmark(url);
- if (bookMarkName && browser.contentTitle != bookMarkName)
- browser[TabmixSvc.contentDocumentAsCPOW].title = bookMarkName;
- }, this)
this.startObserver();
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list