[Pkg-mozext-commits] [tabmixplus] 07/27: Remove obsolete code. The function setAllTabsItemVisibility wasn't is use since changeset 7dc1c63c68b4
David Prévot
taffit at moszumanska.debian.org
Fri Dec 26 01:04:29 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 8eb5a467c028ee18f547061e7fd4d65263cf32bc
Author: onemen <tabmix.onemen at gmail.com>
Date: Mon Nov 10 22:53:31 2014 +0200
Remove obsolete code. The function setAllTabsItemVisibility wasn't is use since changeset 7dc1c63c68b4
---
chrome/content/preferences/appearance.js | 7 -------
chrome/content/preferences/appearance.xul | 3 +--
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/chrome/content/preferences/appearance.js b/chrome/content/preferences/appearance.js
index 6b72c86..21927fe 100644
--- a/chrome/content/preferences/appearance.js
+++ b/chrome/content/preferences/appearance.js
@@ -83,13 +83,6 @@ var gAppearancePane = {
$("alltabsItem").disabled = false;
},
- setAllTabsItemVisibility: function(aShow) {return;
- if ($("flexTabs").checked)
- $("alltabsItem").hidden = !aShow;
- else
- $("alltabsItem").hidden = false;
- },
-
tabsScrollChanged: function() {
var multiRow = $("pref_tabsScroll").value == 2;
$("maxbar").hidden = !multiRow;
diff --git a/chrome/content/preferences/appearance.xul b/chrome/content/preferences/appearance.xul
index bd51fcb..e695434 100644
--- a/chrome/content/preferences/appearance.xul
+++ b/chrome/content/preferences/appearance.xul
@@ -209,8 +209,7 @@
<hbox id="tabxDependant" class="indent" align="center">
<menulist id="tabCloseButton" preference="pref_tabCloseButton"
style="width: &showTabX.popup.width;" sizetopopup="none" observes="obs_showTabX">
- <menupopup onpopupshowing="gAppearancePane.setAllTabsItemVisibility(true);"
- onpopuphidden="gAppearancePane.setAllTabsItemVisibility(false);">
+ <menupopup>
<menuitem value="1" label="&showTabX.always;"/>
<menuitem value="5" label="&showTabX.alwaysExeption;" id="alltabsItem"/>
<menuitem value="3" label="&showTabX.current;"/>
--
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