Difference between revisions of "User:Cgomes7/minefield changes"

From CDOT Wiki
Jump to: navigation, search
(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…')
 
(Patches)
Line 3: Line 3:
 
tab.patch
 
tab.patch
  
 +
<pre>
 
diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml
 
diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml
 
--- a/browser/base/content/tabbrowser.xml
 
--- a/browser/base/content/tabbrowser.xml
Line 37: Line 38:
 
       <method name="warnAboutClosingTabs">
 
       <method name="warnAboutClosingTabs">
 
       <parameter name="aAll"/>
 
       <parameter name="aAll"/>
 +
</pre>

Revision as of 06:42, 29 March 2011

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"/>