firefox-kde.patch
changeset 310 1126a0138bd4
parent 294 5330447b83a3
child 329 a93d6492e93a
--- a/firefox-kde.patch	Fri Aug 19 19:19:32 2011 +0200
+++ b/firefox-kde.patch	Sat Sep 10 09:55:50 2011 +0200
@@ -23,7 +23,7 @@
 new file mode 100644
 --- /dev/null
 +++ b/browser/base/content/browser-kde.xul
-@@ -0,0 +1,1076 @@
+@@ -0,0 +1,1038 @@
 +#filter substitution
 +<?xml version="1.0"?>
 +# -*- Mode: HTML -*-
@@ -250,15 +250,6 @@
 +      </hbox>
 +    </panel>
 +
-+    <panel id="highlighter-panel"
-+           hidden="true"
-+           ignorekeys="true"
-+           noautofocus="true"
-+           noautohide="true"
-+           onclick="InspectorUI.stopInspecting();"
-+           onmousemove="InspectorUI.highlighter.handleMouseMove(event);"
-+           onMozMousePixelScroll="InspectorUI.highlighter.handlePixelScroll(event);"/>
-+
 +    <panel id="inspector-tree-panel"
 +           orient="vertical"
 +           hidden="true"
@@ -276,26 +267,6 @@
 +                       accesskey="&inspectButton.accesskey;"
 +                       class="toolbarbutton-text"
 +                       command="Inspector:Inspect"/>
-+        <toolbarbutton id="inspector-previous-toolbutton"
-+                       label="&inspectPreviousButton.label;"
-+                       accesskey="&inspectPreviousButton.accesskey;"
-+                       class="toolbarbutton-text"
-+                       command="Inspector:Previous"/>
-+        <toolbarbutton id="inspector-next-toolbutton"
-+                       label="&inspectNextButton.label;"
-+                       accesskey="&inspectNextButton.accesskey;"
-+                       class="toolbarbutton-text"
-+                       command="Inspector:Next"/>
-+        <toolbarbutton id="inspector-style-toolbutton"
-+                       label="&inspectStyleButton.label;"
-+                       accesskey="&inspectStyleButton.accesskey;"
-+                       class="toolbarbutton-text"
-+                       oncommand="InspectorUI.toggleStylePanel();"/>
-+        <toolbarbutton id="inspector-dom-toolbutton"
-+                       label="&inspectObjectButton.label;"
-+                       accesskey="&inspectObjectButton.accesskey;"
-+                       class="toolbarbutton-text"
-+                       oncommand="InspectorUI.toggleDOMPanel();"/>
 +      </toolbar>
 +      <hbox id="tree-panel-resizer-box" align="end">
 +        <spacer flex="1" />
@@ -303,21 +274,6 @@
 +      </hbox>
 +    </panel>
 +
-+    <panel id="inspector-style-panel"
-+           hidden="true"
-+           orient="vertical"
-+           ignorekeys="true"
-+           noautofocus="true"
-+           noautohide="true"
-+           titlebar="normal"
-+           label="&inspectStylePanelTitle.label;">
-+        <listbox id="inspector-style-listbox" flex="1"/>
-+        <hbox align="end">
-+          <spacer flex="1" />
-+          <resizer dir="bottomend"/>
-+        </hbox>
-+    </panel>
-+
 +    <menupopup id="toolbar-context-menu"
 +               onpopupshowing="onViewToolbarsPopupShowing(event);">
 +      <menuseparator/>
@@ -1094,6 +1050,12 @@
 +#endif
 +
 +</vbox>
++# <iframe id="highlighter-frame"
++#   transparent="true"
++#   type="content"
++#   src="chrome://content/base/highlighter.html"/> is dynamically appended as
++#     the last child of #tab-view-deck, only when it is needed, for minimal
++#     performance impact.
 +# <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck.
 +#     Introducing the iframe dynamically, as needed, was found to be better than
 +#     starting with an empty iframe here in browser.xul from a Ts standpoint.