firefox-kde.patch
changeset 400 6a1811ef3174
parent 399 20f8b5f0aea6
child 409 ff30593d2daa
--- a/firefox-kde.patch	Tue Feb 21 21:10:03 2012 +0100
+++ b/firefox-kde.patch	Thu Feb 23 11:18:26 2012 +0100
@@ -2,7 +2,7 @@
 new file mode 100644
 --- /dev/null
 +++ b/browser/base/content/browser-kde.xul
-@@ -0,0 +1,1111 @@
+@@ -0,0 +1,1125 @@
 +#filter substitution
 +<?xml version="1.0"?>
 +# -*- Mode: HTML -*-
@@ -42,6 +42,7 @@
 +#   Patrick Walton <pcwalton@mozilla.com>
 +#   David Dahl <ddahl@mozilla.com>
 +#   Frank Yan <fyan@mozilla.com>
++#   Victor Porof <vporof@mozilla.com>
 +#
 +# Alternatively, the contents of this file may be used under the terms of
 +# either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -59,7 +60,8 @@
 +
 +<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
 +<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?>
-+<?xml-stylesheet href="chrome://global/skin/webConsole.css" type="text/css"?>
++<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
++<?xml-stylesheet href="chrome://browser/skin/devtools/webconsole.css" type="text/css"?>
 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
 +
 +<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
@@ -284,7 +286,11 @@
 +                               if (gContextMenu.shouldDisplay)
 +                                 updateEditUIVisibility();
 +                               return gContextMenu.shouldDisplay;"
-+               onpopuphiding="if (event.target == this) { gContextMenu = null; updateEditUIVisibility(); }">
++               onpopuphiding="if (event.target != this)
++                                return;
++                              gContextMenu.hiding();
++                              gContextMenu = null;
++                              updateEditUIVisibility();">
 +#include browser-context.inc
 +    </menupopup>
 +
@@ -517,8 +523,6 @@
 +                 ontextentered="this.handleCommand(param);"
 +                 ontextreverted="return this.handleRevert();"
 +                 pageproxystate="invalid"
-+                 onsearchbegin="LocationBarHelpers._searchBegin();"
-+                 onsearchcomplete="LocationBarHelpers._searchComplete();"
 +                 onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'"
 +                 onblur="setTimeout(function() document.getElementById('identity-box').style.MozUserFocus = '', 0);">
 +          <box id="notification-popup-box" hidden="true" align="center">
@@ -539,7 +543,6 @@
 +            <hbox id="identity-box-inner" align="center">
 +              <stack id="page-proxy-stack"
 +                     onclick="PageProxyClickHandler(event);">
-+                <image id="urlbar-throbber" busy="false"/>
 +                <image id="page-proxy-favicon" validate="never"
 +                       pageproxystate="invalid"
 +                       onerror="this.removeAttribute('src');"/>
@@ -974,14 +977,16 @@
 +    <splitter id="devtools-side-splitter" hidden="true"/>
 +    <vbox id="devtools-sidebar-box" hidden="true"
 +          style="min-width: 18em; width: 22em; max-width: 42em;" persist="width">
-+      <toolbar id="devtools-sidebar-toolbar" nowindowdrag="true"/>
++      <toolbar id="devtools-sidebar-toolbar"
++               class="devtools-toolbar"
++               nowindowdrag="true"/>
 +      <deck id="devtools-sidebar-deck" flex="1"/>
 +    </vbox>
 +    <vbox id="browser-border-end" hidden="true" layer="true"/>
 +  </hbox>
 +
 +  <hbox id="full-screen-warning-container" hidden="true" fadeout="true">
-+    <hbox style="min-width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. -->
++    <hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. -->
 +      <hbox id="full-screen-warning-message">
 +        <description id="full-screen-warning-text" value="&domFullScreenWarning.label;"></description>
 +      </hbox>
@@ -990,6 +995,7 @@
 +
 +  <vbox id="browser-bottombox" layer="true">
 +    <toolbar id="inspector-toolbar"
++             class="devtools-toolbar"
 +             nowindowdrag="true"
 +             hidden="true">
 +      <vbox flex="1">
@@ -1004,6 +1010,7 @@
 +                         tooltiptext="&inspectCloseButton.tooltiptext;"/>
 +#endif
 +          <toolbarbutton id="inspector-inspect-toolbutton"
++                         class="devtools-toolbarbutton"
 +                         label="&inspectButton.label;"
 +                         accesskey="&inspectButton.accesskey;"
 +                         command="Inspector:Inspect"/>
@@ -1011,7 +1018,14 @@
 +                          flex="1" orient="horizontal"
 +                          clicktoscroll="true"/>
 +          <hbox id="inspector-tools">
++            <toolbarbutton id="inspector-3D-button"
++                           class="devtools-toolbarbutton"
++                           hidden="true"
++                           label="&inspect3DButton.label;"
++                           accesskey="&inspect3DButton.accesskey;"
++                           command="Inspector:Tilt"/>
 +            <toolbarbutton id="inspector-style-button"
++                           class="devtools-toolbarbutton"
 +                           label="&inspectStyleButton.label;"
 +                           accesskey="&inspectStyleButton.accesskey;"
 +                           command="Inspector:Sidebar"/>