diff -r e1c226a4de34 -r cef565f1c325 firefox-kde.patch
--- a/firefox-kde.patch Sun Apr 13 16:54:09 2014 +0200
+++ b/firefox-kde.patch Mon Apr 14 09:09:11 2014 +0200
@@ -2,7 +2,7 @@
new file mode 100644
--- /dev/null
+++ b/browser/base/content/browser-kde.xul
-@@ -0,0 +1,1177 @@
+@@ -0,0 +1,1213 @@
+#filter substitution
+
+# -*- Mode: HTML -*-
@@ -14,7 +14,9 @@
+
+
+
++
+
++
+
+
+
@@ -44,6 +46,14 @@
+ titlemodifier_normal="&mainWindow.titlemodifier;"
+ titlemodifier_privatebrowsing="&mainWindow.titlemodifier; &mainWindow.titlePrivateBrowsingSuffix;"
+#endif
++#ifdef CAN_DRAW_IN_TITLEBAR
++#ifdef XP_WIN
++ chromemargin="0,2,2,2"
++#else
++ chromemargin="0,-1,-1,-1"
++#endif
++ tabsintitlebar="true"
++#endif
+ titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
+ lightweightthemes="true"
+ lightweightthemesfooter="browser-bottombox"
@@ -51,6 +61,7 @@
+ macanimationtype="document"
+ screenX="4" screenY="4"
+ fullscreenbutton="true"
++ sizemode="normal"
+ persist="screenX screenY width height sizemode">
+
+# All JS files which are not content (only) dependent that browser.xul
@@ -123,6 +134,7 @@
+ oncommand="gotoHistoryIndex(event); event.stopPropagation();"
+ onclick="checkForMiddleClick(this, event);"/>
+
++
+
+
+
@@ -192,41 +204,37 @@
+ type="arrow"
+ hidden="true"
+ noautofocus="true"
++ noautohide="true"
+ align="start"
+ orient="vertical"
+ role="alert">
-+
-+
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+
-+
-+
-+
-+
-+
++
-+
-+
-+
-+
-+
-+
++ noautofocus="true"
++ noautohide="true"
++ flip="none"
++ consumeoutsideclicks="false"
++ mousethrough="always">
++
+
+
+
+
+
@@ -382,13 +403,51 @@
+
+
+
++
++
++
++
++
++
++
++#ifdef XP_UNIX
++ &syncStartPanel.subTitleUnix;
++#else
++ &syncStartPanel.subTitle;
++#endif
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+
+
+
-+
-+
+
+
+
@@ -411,34 +470,46 @@
+
+#include popup-notifications.inc
+
++#include ../../components/customizableui/content/panelUI.inc.xul
++
+
+
+
+
+
++
++
++
++
++
++
++
++
++
++
++
+
+
+#ifdef CAN_DRAW_IN_TITLEBAR
+
+
-+#ifdef MENUBAR_CAN_AUTOHIDE
-+
++
++
++#ifdef XP_WIN
++
++
++
+#endif
-+
-+
+
+
+
+
+
+
++#ifdef XP_MACOSX
++
++#endif
+
+
+#endif
@@ -446,334 +517,428 @@
+
+
+
-+
++
+
+
++
++
++
++#if defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_QT)
++
++#endif
++
++
++
++
++
++
++
++
++
++
++
++
++
++#ifdef XP_WIN
++
++#endif
++#ifdef CAN_DRAW_IN_TITLEBAR
++
++
++#ifdef XP_MACOSX
++
++#endif
+#endif
+
+
++
+
+
-+
-+
-+
-+
-+
-+
-+
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
++
+
-+
++
++
++
++
++
+
-+
++
++
+
-+
-+
++
++
++
++
+
+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
++
+
+
+
+
@@ -786,16 +951,23 @@
+
+
+
-+
++
+
-+
+
-+
++
+
@@ -833,88 +1002,11 @@
+
+
+
-+#ifdef MENUBAR_CAN_AUTOHIDE
-+#ifndef CAN_DRAW_IN_TITLEBAR
-+#define APPMENU_ON_TABBAR
-+#endif
-+#endif
-+
-+
-+
-+
-+#ifdef APPMENU_ON_TABBAR
-+
-+#endif
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+#ifdef CAN_DRAW_IN_TITLEBAR
-+
-+
-+#endif
++
++
++
++
+
+
+
@@ -923,36 +1015,18 @@
+# or removing default items with the toolbarbutton-1 class.
+
+
++#ifdef XP_MACOSX
++ command="cmd_print" tooltip="dynamic-shortcut-tooltip"
++#else
++ command="cmd_printPreview" tooltiptext="&printButton.tooltip;"
++#endif
++ label="&printButton.label;"/>
+
-+
-+
-+
-+
-+
-+
+
+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
++ tooltip="dynamic-shortcut-tooltip"/>
+
+#ifdef MOZ_SERVICES_SYNC
+
+#endif
+
-+
-+
-+
-+
+
+
+
+
+
+
-+
-+
-+
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++
++#include ../../components/customizableui/content/customizeMode.inc.xul
++
+
+
+
@@ -1122,56 +1186,28 @@
+ tooltiptext="&devToolbarCloseButton.tooltiptext;"/>
+#endif
+
-+
-+
-+
-+
-+
+
+
++
++#include tab-shape.inc.svg
++
+#ifndef XP_UNIX
-+
-+
-+
++
++
+
+
-+
++
+
-+
+#endif
+#ifdef XP_MACOSX
-+
-+
-+
++
++
+
+
-+
-+
-+
-+
-+
-+
-+
++
+
-+
-+
-+
-+
-+
-+
++#endif
+
-+#endif
+
+
+#