ライブラリ更新
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6807 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
850fe1a9a2
commit
891242cfc2
@ -693,7 +693,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
|
|||||||
|
|
||||||
// Focus Last Selected Tab 0.9.5.x
|
// Focus Last Selected Tab 0.9.5.x
|
||||||
// http://www.gozer.org/mozilla/extensions/
|
// http://www.gozer.org/mozilla/extensions/
|
||||||
this.extensions.checkAvailable('focuslastselectedtab@gozer.org', { ok : function() {
|
this.extensions.isAvailable('focuslastselectedtab@gozer.org', { ok : function() {
|
||||||
TreeStyleTabService.registerTabFocusAllowance(function(aTabBrowser) {
|
TreeStyleTabService.registerTabFocusAllowance(function(aTabBrowser) {
|
||||||
return !aTabBrowser.selectedTab.hasAttribute('lastselected');
|
return !aTabBrowser.selectedTab.hasAttribute('lastselected');
|
||||||
});
|
});
|
||||||
@ -1099,7 +1099,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
|
|||||||
|
|
||||||
// Remove New Tab Button
|
// Remove New Tab Button
|
||||||
// https://addons.mozilla.org/firefox/addon/10535
|
// https://addons.mozilla.org/firefox/addon/10535
|
||||||
this.extensions.checkAvailable('remove-new-tab-button@forerunnerdesigns.com', { ok : function() {
|
this.extensions.isAvailable('remove-new-tab-button@forerunnerdesigns.com', { ok : function() {
|
||||||
document.documentElement.setAttribute(TreeStyleTabService.kHIDE_NEWTAB, true);
|
document.documentElement.setAttribute(TreeStyleTabService.kHIDE_NEWTAB, true);
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
@ -1796,7 +1796,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
this.getPref('extensions.informationaltab.thumbnail.position') < 100
|
this.getPref('extensions.informationaltab.thumbnail.position') < 100
|
||||||
) {
|
) {
|
||||||
let self = this;
|
let self = this;
|
||||||
this.extensions.checkAvailable('informationaltab@piro.sakura.ne.jp', {
|
this.extensions.isAvailable('informationaltab@piro.sakura.ne.jp', {
|
||||||
ok : function() {
|
ok : function() {
|
||||||
aStyle = 'retro';
|
aStyle = 'retro';
|
||||||
self.setTabbrowserAttribute(self.kTWISTY_STYLE, aStyle);
|
self.setTabbrowserAttribute(self.kTWISTY_STYLE, aStyle);
|
||||||
|
@ -92,7 +92,7 @@ if (typeof window == 'undefined') {
|
|||||||
return addon;
|
return addon;
|
||||||
},
|
},
|
||||||
|
|
||||||
_formatCallbacks : function()
|
_formatCallbacks : function(aOKCallback, aNGCallback)
|
||||||
{
|
{
|
||||||
var callbacks = {
|
var callbacks = {
|
||||||
ok : aOKCallback,
|
ok : aOKCallback,
|
||||||
|
Loading…
Reference in New Issue
Block a user