diff --git a/content/treestyletab/config.xul b/content/treestyletab/config.xul index 4106643b..0cf9c8f5 100644 --- a/content/treestyletab/config.xul +++ b/content/treestyletab/config.xul @@ -232,9 +232,6 @@ - @@ -275,9 +272,6 @@ - - - - - - - - - - diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index fbcb17ec..613d54b6 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -15,7 +15,6 @@ TreeStyleTabBrowser.prototype = { kMENUITEM_AUTOHIDE_SEPARATOR : 'context-separator-toggleAutoHide', kMENUITEM_AUTOHIDE : 'context-item-toggleAutoHide', kMENUITEM_FIXED : 'context-item-toggleFixed', - kMENUITEM_POSITION : 'context-menu-tabbarPosition', kMENUITEM_BOOKMARKSUBTREE : 'context-item-bookmarkTabSubTree', mTabBrowser : null, @@ -498,7 +497,6 @@ TreeStyleTabBrowser.prototype = { aSelf.kMENUITEM_AUTOHIDE_SEPARATOR, aSelf.kMENUITEM_AUTOHIDE, aSelf.kMENUITEM_FIXED, - aSelf.kMENUITEM_POSITION, aSelf.kMENUITEM_BOOKMARKSUBTREE ].forEach(function(aID) { let item = document.getElementById(aID).cloneNode(true); @@ -2188,7 +2186,6 @@ TreeStyleTabBrowser.prototype = { this.kMENUITEM_EXPAND, this.kMENUITEM_AUTOHIDE, this.kMENUITEM_FIXED, - this.kMENUITEM_POSITION, this.kMENUITEM_BOOKMARKSUBTREE ].forEach(function(aID) { let item = this.evaluateXPath( @@ -2282,19 +2279,13 @@ TreeStyleTabBrowser.prototype = { else fixed.removeAttribute('checked'); - // position - let position = items[this.kMENUITEM_POSITION]; - let pos = b.getAttribute(this.kTABBAR_POSITION); - position.getElementsByAttribute('value', pos)[0].setAttribute('checked', true); - sep = this.evaluateXPath( 'descendant::xul:menuseparator[starts-with(@id, "'+this.kMENUITEM_AUTOHIDE_SEPARATOR+'")]', aEvent.currentTarget, XPathResult.FIRST_ORDERED_NODE_TYPE ).singleNodeValue; if (autohide.getAttribute('hidden') != 'true' || - fixed.getAttribute('hidden') != 'true' || - position.getAttribute('hidden') != 'true') { + fixed.getAttribute('hidden') != 'true') { sep.removeAttribute('hidden'); } else { diff --git a/locale/de-DE/treestyletab/treestyletab.dtd b/locale/de-DE/treestyletab/treestyletab.dtd index a60b6a15..35770c70 100644 --- a/locale/de-DE/treestyletab/treestyletab.dtd +++ b/locale/de-DE/treestyletab/treestyletab.dtd @@ -174,8 +174,6 @@ - - diff --git a/locale/en-US/treestyletab/treestyletab.dtd b/locale/en-US/treestyletab/treestyletab.dtd index 56cc3ad9..0ab356e1 100644 --- a/locale/en-US/treestyletab/treestyletab.dtd +++ b/locale/en-US/treestyletab/treestyletab.dtd @@ -173,8 +173,6 @@ - - diff --git a/locale/es-ES/treestyletab/treestyletab.dtd b/locale/es-ES/treestyletab/treestyletab.dtd index 78dd335e..8a5fcc4f 100644 --- a/locale/es-ES/treestyletab/treestyletab.dtd +++ b/locale/es-ES/treestyletab/treestyletab.dtd @@ -177,8 +177,6 @@ - - diff --git a/locale/it-IT/treestyletab/treestyletab.dtd b/locale/it-IT/treestyletab/treestyletab.dtd index 26c1e48f..cf56379a 100644 --- a/locale/it-IT/treestyletab/treestyletab.dtd +++ b/locale/it-IT/treestyletab/treestyletab.dtd @@ -177,8 +177,6 @@ - - diff --git a/locale/ja/treestyletab/treestyletab.dtd b/locale/ja/treestyletab/treestyletab.dtd index fa5db32e..dd60ac1e 100644 --- a/locale/ja/treestyletab/treestyletab.dtd +++ b/locale/ja/treestyletab/treestyletab.dtd @@ -173,8 +173,6 @@ - - diff --git a/locale/pl-PL/treestyletab/treestyletab.dtd b/locale/pl-PL/treestyletab/treestyletab.dtd index dcbf83a4..c375e761 100644 --- a/locale/pl-PL/treestyletab/treestyletab.dtd +++ b/locale/pl-PL/treestyletab/treestyletab.dtd @@ -176,8 +176,6 @@ - - diff --git a/locale/ru-RU/treestyletab/treestyletab.dtd b/locale/ru-RU/treestyletab/treestyletab.dtd index 2fb8ef58..531b1412 100755 --- a/locale/ru-RU/treestyletab/treestyletab.dtd +++ b/locale/ru-RU/treestyletab/treestyletab.dtd @@ -177,8 +177,6 @@ - - diff --git a/locale/zh-CN/treestyletab/treestyletab.dtd b/locale/zh-CN/treestyletab/treestyletab.dtd index dc1c0dc5..22633788 100644 --- a/locale/zh-CN/treestyletab/treestyletab.dtd +++ b/locale/zh-CN/treestyletab/treestyletab.dtd @@ -177,8 +177,6 @@ - - diff --git a/locale/zh-TW/treestyletab/treestyletab.dtd b/locale/zh-TW/treestyletab/treestyletab.dtd index 165223c0..08ec528d 100644 --- a/locale/zh-TW/treestyletab/treestyletab.dtd +++ b/locale/zh-TW/treestyletab/treestyletab.dtd @@ -173,8 +173,6 @@ - -