Open main menu

CDOT Wiki β

User:Cgomes7/minefield changes

< User:Cgomes7
Revision as of 06:42, 29 March 2011 by Cgomes7 (talk | contribs) (Created page with '===Patches=== tab.patch diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/cont…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Patches

tab.patch

diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -1335,27 +1335,27 @@

            // activeness in the tab switcher.
            b.docShell.isActive = false;

            // Check if we're opening a tab related to the current tab and
            // move it to after the current tab.
            // aReferrerURI is null or undefined if the tab is opened from
            // an external application or bookmark, i.e. somewhere other
            // than the current tab.

- if ((aRelatedToCurrent == null ? aReferrerURI : aRelatedToCurrent) && - Services.prefs.getBoolPref("browser.tabs.insertRelatedAfterCurrent")) { + // if ((aRelatedToCurrent == null ? aReferrerURI : aRelatedToCurrent) && + // Services.prefs.getBoolPref("browser.tabs.insertRelatedAfterCurrent")) {

              let newTabPos = (this._lastRelatedTab ||
                               this.selectedTab)._tPos + 1;
              if (this._lastRelatedTab)
                this._lastRelatedTab.owner = null;
              else
                t.owner = this.selectedTab;
              this.moveTabTo(t, newTabPos);
              this._lastRelatedTab = t;

- } + //}

            return t;
          ]]>
        </body>
      </method>

      <method name="warnAboutClosingTabs">
      <parameter name="aAll"/>