firefox-kde.patch
branchfirefox24
changeset 662 775530ba0729
parent 659 fa96cf6ffd14
child 680 be770d3cbc02
--- a/firefox-kde.patch	Wed Aug 14 19:02:25 2013 +0200
+++ b/firefox-kde.patch	Sun Aug 18 10:36:27 2013 +0200
@@ -2,7 +2,7 @@
 new file mode 100644
 --- /dev/null
 +++ b/browser/base/content/browser-kde.xul
-@@ -0,0 +1,1196 @@
+@@ -0,0 +1,1097 @@
 +#filter substitution
 +<?xml version="1.0"?>
 +# -*- Mode: HTML -*-
@@ -102,6 +102,8 @@
 +                label="&bookmarkAllTabs.label;"
 +                accesskey="&bookmarkAllTabs.accesskey;"
 +                command="Browser:BookmarkAllTabs"/>
++      <menuitem id="context_closeTabsToTheEnd" label="&closeTabsToTheEnd.label;" accesskey="&closeTabsToTheEnd.accesskey;"
++                oncommand="gBrowser.removeTabsToTheEndFrom(TabContextMenu.contextTab);"/>
 +      <menuitem id="context_closeOtherTabs" label="&closeOtherTabs.label;" accesskey="&closeOtherTabs.accesskey;"
 +                oncommand="gBrowser.removeAllTabsBut(TabContextMenu.contextTab);"/>
 +      <menuseparator/>
@@ -235,6 +237,7 @@
 +           side="right"
 +           type="arrow"
 +           hidden="true"
++           flip="slide"
 +           rolluponmousewheel="true"
 +           consumeoutsideclicks="false"
 +           noautofocus="true"
@@ -289,59 +292,6 @@
 +
 +    <menupopup id="placesContext"/>
 +
-+    <panel id="notification-popup"
-+           type="arrow"
-+           footertype="promobox"
-+           position="after_start"
-+           hidden="true"
-+           orient="vertical"
-+           role="alert"/>
-+
-+    <!-- Popup for site identity information -->
-+    <panel id="identity-popup"
-+           type="arrow"
-+           hidden="true"
-+           noautofocus="true"
-+           consumeoutsideclicks="true"
-+           onpopupshown="gIdentityHandler.onPopupShown(event);"
-+           level="top">
-+      <hbox id="identity-popup-container" align="top">
-+        <image id="identity-popup-icon"/>
-+        <vbox id="identity-popup-content-box">
-+          <label id="identity-popup-connectedToLabel"
-+                 class="identity-popup-label"
-+                 value="&identity.connectedTo;"/>
-+          <label id="identity-popup-connectedToLabel2"
-+                 class="identity-popup-label"
-+                 value="&identity.unverifiedsite2;"/>
-+          <description id="identity-popup-content-host"
-+                       class="identity-popup-description"/>
-+          <label id="identity-popup-runByLabel"
-+                 class="identity-popup-label"
-+                 value="&identity.runBy;"/>
-+          <description id="identity-popup-content-owner"
-+                       class="identity-popup-description"/>
-+          <description id="identity-popup-content-supplemental"
-+                       class="identity-popup-description"/>
-+          <description id="identity-popup-content-verifier"
-+                       class="identity-popup-description"/>
-+          <hbox id="identity-popup-encryption" flex="1">
-+            <vbox>
-+              <image id="identity-popup-encryption-icon"/>
-+            </vbox>
-+            <description id="identity-popup-encryption-label" flex="1"
-+                         class="identity-popup-description"/>
-+          </hbox>
-+          <!-- Footer button to open security page info -->
-+          <hbox id="identity-popup-button-container" pack="end">
-+            <button id="identity-popup-more-info-button"
-+                    label="&identity.moreInfoLinkText;"
-+                    onblur="gIdentityHandler.hideIdentityPopup();"
-+                    oncommand="gIdentityHandler.handleMoreInfoClick(event);"/>
-+          </hbox>
-+        </vbox>
-+      </hbox>
-+    </panel>
 +
 +    <panel id="ctrlTab-panel" class="KUI-panel" hidden="true" norestorefocus="true" level="top">
 +      <hbox>
@@ -384,57 +334,7 @@
 +#endif
 +    </tooltip>
 +
-+    <popupnotification id="webRTC-shareDevices-notification" hidden="true">
-+      <popupnotificationcontent id="webRTC-selectCamera" orient="vertical">
-+        <separator class="thin"/>
-+        <label value="&getUserMedia.selectCamera.label;"
-+               accesskey="&getUserMedia.selectCamera.accesskey;"
-+               control="webRTC-selectCamera-menulist"/>
-+        <menulist id="webRTC-selectCamera-menulist">
-+          <menupopup id="webRTC-selectCamera-menupopup"/>
-+        </menulist>
-+      </popupnotificationcontent>
-+      <popupnotificationcontent id="webRTC-selectMicrophone" orient="vertical">
-+        <separator class="thin"/>
-+        <label value="&getUserMedia.selectMicrophone.label;"
-+               accesskey="&getUserMedia.selectMicrophone.accesskey;"
-+               control="webRTC-selectMicrophone-menulist"/>
-+        <menulist id="webRTC-selectMicrophone-menulist">
-+          <menupopup id="webRTC-selectMicrophone-menupopup"/>
-+        </menulist>
-+      </popupnotificationcontent>
-+    </popupnotification>
-+
-+    <popupnotification id="geolocation-notification" hidden="true">
-+      <popupnotificationcontent orient="vertical" align="start">
-+        <separator class="thin"/>
-+        <label id="geolocation-learnmore-link" class="text-link"/>
-+      </popupnotificationcontent>
-+    </popupnotification>
-+
-+    <popupnotification id="servicesInstall-notification" hidden="true">
-+      <popupnotificationcontent orient="vertical" align="start">
-+        <separator class="thin"/>
-+        <label id="servicesInstall-learnmore-link" class="text-link"/>
-+      </popupnotificationcontent>
-+    </popupnotification>
-+
-+    <popupnotification id="pointerLock-notification" hidden="true">
-+      <popupnotificationcontent orient="vertical" align="start">
-+        <separator class="thin"/>
-+        <label id="pointerLock-cancel" value="&pointerLock.notification.message;"/>
-+      </popupnotificationcontent>
-+    </popupnotification>
-+
-+    <popupnotification id="mixed-content-blocked-notification" hidden="true">
-+      <popupnotificationcontent orient="vertical" align="start">
-+        <separator/>
-+        <description id="mixed-content-blocked-moreinfo">&mixedContentBlocked.moreinfo;</description>
-+        <separator/>
-+        <label id="mixed-content-blocked-helplink" class="text-link"
-+               value="&mixedContentBlocked.helplink;"/>
-+      </popupnotificationcontent>
-+    </popupnotification>
++#include popup-notifications.inc
 +
 +  </popupset>
 +
@@ -552,6 +452,7 @@
 +            <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
 +            <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
 +            <image id="web-notifications-notification-icon" class="notification-anchor-icon" role="button"/>
++            <image id="alert-plugins-notification-icon" class="notification-anchor-icon" role="button"/>
 +            <image id="blocked-plugins-notification-icon" class="notification-anchor-icon" role="button"/>
 +            <image id="plugin-install-notification-icon" class="notification-anchor-icon" role="button"/>
 +            <image id="mixed-content-blocked-notification-icon" class="notification-anchor-icon" role="button"/>
@@ -745,6 +646,9 @@
 +                   hidden="true"
 +                   skipintoolbarset="true"
 +                   observes="socialActiveBroadcaster">
++        <toolbarbutton id="social-notification-icon" class="default-notification-icon toolbarbutton-1 notification-anchor-icon"
++                   oncommand="PopupNotifications._reshowNotifications(this,
++                                document.getElementById('social-sidebar-browser'));"/>
 +        <toolbarbutton id="social-provider-button"
 +                       class="toolbarbutton-1"
 +                       type="menu">
@@ -957,7 +861,6 @@
 +                     ondrop="DownloadsIndicatorView.onDrop(event);"
 +                     ondragover="DownloadsIndicatorView.onDragOver(event);"
 +                     ondragenter="DownloadsIndicatorView.onDragOver(event);"
-+                     ondragleave="DownloadsIndicatorView.onDragLeave(event);"
 +                     label="&downloads.label;"
 +                     tooltiptext="&downloads.tooltip;"/>
 +
@@ -1085,6 +988,7 @@
 +               context="contentAreaContextMenu"
 +               disableglobalhistory="true"
 +               tooltip="aHTMLTooltip"
++               popupnotificationanchor="social-notification-icon"
 +               flex="1"
 +               style="min-width: 14em; width: 18em; max-width: 36em;"/>
 +    </vbox>
@@ -1124,11 +1028,8 @@
 +                         tooltiptext="&devToolbarCloseButton.tooltiptext;"/>
 +#endif
 +          <stack class="gclitoolbar-stack-node" flex="1">
-+            <hbox class="gclitoolbar-prompt">
-+              <label class="gclitoolbar-prompt-label">&#187;</label>
-+            </hbox>
++            <textbox class="gclitoolbar-input-node" rows="1"/>
 +            <hbox class="gclitoolbar-complete-node"/>
-+            <textbox class="gclitoolbar-input-node" rows="1"/>
 +          </stack>
 +          <toolbarbutton id="developer-toolbar-toolbox-button"
 +                         class="developer-toolbar-button"