fix KDE's browser.xul firefox14
authorWolfgang Rosenauer <wr@rosenauer.org>
Mon, 11 Jun 2012 20:15:02 +0200
branchfirefox14
changeset 476 2e9bfc3f8bf9
parent 475 b0df28e752fd
child 477 ad1b2d6da390
fix KDE's browser.xul
firefox-kde.patch
--- a/firefox-kde.patch	Mon Jun 11 15:03:26 2012 +0200
+++ b/firefox-kde.patch	Mon Jun 11 20:15:02 2012 +0200
@@ -2,7 +2,7 @@
 new file mode 100644
 --- /dev/null
 +++ b/browser/base/content/browser-kde.xul
-@@ -0,0 +1,1116 @@
+@@ -0,0 +1,1122 @@
 +#filter substitution
 +<?xml version="1.0"?>
 +# -*- Mode: HTML -*-
@@ -99,6 +99,7 @@
 +        macanimationtype="document"
 +        screenX="4" screenY="4"
 +        browsingmode="normal"
++        fullscreenbutton="true"
 +        persist="screenX screenY width height sizemode">
 +
 +# All JS files which are not content (only) dependent that browser.xul
@@ -533,6 +534,7 @@
 +            <image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button"/>
 +            <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
 +            <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
++            <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
 +          </box>
 +          <!-- Use onclick instead of normal popup= syntax since the popup
 +               code fires onmousedown, and hence eats our favicon drag events.
@@ -545,9 +547,8 @@
 +            <hbox id="identity-box-inner" align="center">
 +              <hbox id="page-proxy-stack"
 +                    onclick="PageProxyClickHandler(event);">
-+                <image id="page-proxy-favicon" validate="never"
-+                       pageproxystate="invalid"
-+                       onerror="this.removeAttribute('src');"/>
++                <image id="page-proxy-favicon"
++                       pageproxystate="invalid"/>
 +              </hbox>
 +              <hbox id="identity-icon-labels">
 +                <label id="identity-icon-label" class="plain" flex="1"/>
@@ -858,6 +859,9 @@
 +                     label="&printButton.label;" command="cmd_print"
 +                     tooltiptext="&printButton.tooltip;"/>
 +
++      <!-- This is a placeholder for the Downloads Indicator.  It is visible
++           only during the customization of the toolbar or in the palette, and
++           is replaced when customization is done. -->
 +      <toolbarbutton id="downloads-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
 +                     observes="Tools:Downloads"
 +                     ondrop="DownloadsButtonDNDObserver.onDrop(event)"
@@ -1011,9 +1015,9 @@
 +                     command="Inspector:Inspect"/>
 +      <toolbarbutton id="inspector-treepanel-toolbutton"
 +                     class="devtools-toolbarbutton"
-+                     label="&htmlPanel.label;"
-+                     accesskey="&htmlPanel.accesskey;"
-+                     tooltiptext="&htmlPanel.tooltiptext;"
++                     tabindex="0"
++                     aria-label="&markupButton.arialabel;"
++                     accesskey="&markupButton.accesskey;"
 +                     command="Inspector:HTMLPanel"/>
 +      <arrowscrollbox id="inspector-breadcrumbs"
 +                      flex="1" orient="horizontal"
@@ -1024,11 +1028,13 @@
 +                       hidden="true"
 +                       label="&inspect3DViewButton.label;"
 +                       accesskey="&inspect3DViewButton.accesskey;"
++                       tabindex="0"
 +                       command="Inspector:Tilt"/>
 +        <toolbarbutton id="inspector-style-button"
 +                       class="devtools-toolbarbutton"
 +                       label="&inspectStyleButton.label;"
 +                       accesskey="&inspectStyleButton.accesskey;"
++                       tabindex="0"
 +                       command="Inspector:Sidebar"/>
 +        <!-- registered tools go here -->
 +      </hbox>
@@ -1063,7 +1069,7 @@
 +    </svg:mask>
 +    <svg:mask id="winstripe-urlbar-back-button-mask" maskContentUnits="userSpaceOnUse">
 +      <svg:rect x="0" y="0" width="10000" height="50" fill="white"/>
-+      <svg:circle cx="-11" cy="13" r="15"/>
++      <svg:circle cx="-11" cy="18" r="15"/>
 +    </svg:mask>
 +  </svg:svg>
 +#endif