[Pkg-mozext-commits] [tabmixplus] 93/123: Move appmenu-sessionmanager to its position when Classic Theme Restorer installed
David Prévot
taffit at moszumanska.debian.org
Wed Sep 17 21:16:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit d42980416991e569126aaa3684842abee6ff8633
Author: onemen <tabmix.onemen at gmail.com>
Date: Wed Sep 10 14:45:06 2014 +0300
Move appmenu-sessionmanager to its position when Classic Theme Restorer installed
---
chrome/content/extensions/extensions.js | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/chrome/content/extensions/extensions.js b/chrome/content/extensions/extensions.js
index d90dc28..e3900e8 100644
--- a/chrome/content/extensions/extensions.js
+++ b/chrome/content/extensions/extensions.js
@@ -433,6 +433,15 @@ var TMP_extensionsCompatibility = {
).toCode();
window.BrowserOpenTab = TMP_BrowserOpenTab;
}
+
+ // Classic Theme Restorer
+ // move appmenu-sessionmanager to its position
+ let ctrBox = document.getElementById("ctraddon_appmenubox_developer");
+ if (ctrBox) {
+ let sessionmanager = document.getElementById("appmenu-sessionmanager");
+ if (sessionmanager)
+ ctrBox.parentNode.insertBefore(sessionmanager, ctrBox.nextSibling);
+ }
}
}
--
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