Followup bug 580870 to rename gTabDeck/gTabFrame to gTabView*.

This commit is contained in:
Edward Lee 2010-07-22 22:41:58 -07:00
parent 17d693812b
commit b3e2889d22
2 changed files with 7 additions and 7 deletions

View File

@ -114,15 +114,15 @@ window.Page = {
// Function: isTabCandyVisible
// Returns true if the TabCandy UI is currently shown.
isTabCandyVisible: function(){
return gTabDeck.selectedIndex == 1;
return gTabViewDeck.selectedIndex == 1;
},
// ----------
// Function: hideChrome
// Hides the main browser UI and shows TabCandy.
hideChrome: function(){
gTabDeck.selectedIndex = 1;
gTabFrame.contentWindow.focus();
gTabViewDeck.selectedIndex = 1;
gTabViewFrame.contentWindow.focus();
gBrowser.updateTitlebar();
#ifdef XP_MACOSX
@ -134,7 +134,7 @@ window.Page = {
// Function: showChrome
// Shows the main browser UI and hides Tab Candy.
showChrome: function(){
gTabDeck.selectedIndex = 0;
gTabViewDeck.selectedIndex = 0;
gBrowser.contentWindow.focus();
// set the close button on tab
@ -207,7 +207,7 @@ window.Page = {
// When you click on the background/empty part of TabCandy,
// we create a new group.
iQ(gTabFrame.contentDocument).mousedown(function(e){
iQ(gTabViewFrame.contentDocument).mousedown(function(e){
if ( e.originalTarget.id == "content" )
self._createGroupOnDrag(e)
});

View File

@ -61,11 +61,11 @@ XPCOMUtils.defineLazyGetter(this, "gWindow", function() {
XPCOMUtils.defineLazyGetter(this, "gBrowser", function() gWindow.gBrowser);
XPCOMUtils.defineLazyGetter(this, "gTabDeck", function() {
XPCOMUtils.defineLazyGetter(this, "gTabViewDeck", function() {
return gWindow.document.getElementById("tab-candy-deck");
});
XPCOMUtils.defineLazyGetter(this, "gTabFrame", function() {
XPCOMUtils.defineLazyGetter(this, "gTabViewFrame", function() {
return gWindow.document.getElementById("tab-candy");
});