firefox-kde.patch
branchfirefox40
changeset 868 284da266ec46
parent 863 d5a1c8dec7ed
child 869 0dd25a92df97
equal deleted inserted replaced
867:3af93b7e5e3d 868:284da266ec46
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent  cd94ee18bd0cdda7f5eb5503d8d072efe02a8033
     2 # Parent  32cde807c82c4420d152346fd441826a1658f27c
     3 
     3 
     4 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
     4 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
     5 new file mode 100644
     5 new file mode 100644
     6 --- /dev/null
     6 --- /dev/null
     7 +++ b/browser/base/content/browser-kde.xul
     7 +++ b/browser/base/content/browser-kde.xul
     8 @@ -0,0 +1,1308 @@
     8 @@ -0,0 +1,1314 @@
     9 +#filter substitution
     9 +#filter substitution
    10 +<?xml version="1.0"?>
    10 +<?xml version="1.0"?>
    11 +# -*- Mode: HTML -*-
    11 +# -*- Mode: HTML -*-
    12 +#
    12 +#
    13 +# This Source Code Form is subject to the terms of the Mozilla Public
    13 +# This Source Code Form is subject to the terms of the Mozilla Public
   786 +                     onblur="setTimeout(() => { document.getElementById('identity-box').style.MozUserFocus = ''; }, 0);">
   786 +                     onblur="setTimeout(() => { document.getElementById('identity-box').style.MozUserFocus = ''; }, 0);">
   787 +              <box id="notification-popup-box" hidden="true" align="center">
   787 +              <box id="notification-popup-box" hidden="true" align="center">
   788 +                <image id="default-notification-icon" class="notification-anchor-icon" role="button"/>
   788 +                <image id="default-notification-icon" class="notification-anchor-icon" role="button"/>
   789 +                <image id="identity-notification-icon" class="notification-anchor-icon" role="button"/>
   789 +                <image id="identity-notification-icon" class="notification-anchor-icon" role="button"/>
   790 +                <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/>
   790 +                <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/>
       
   791 +                <image id="push-notification-icon" class="notification-anchor-icon" role="button"/>
   791 +                <image id="addons-notification-icon" class="notification-anchor-icon" role="button"/>
   792 +                <image id="addons-notification-icon" class="notification-anchor-icon" role="button"/>
   792 +                <image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button"/>
   793 +                <image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button"/>
   793 +                <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
   794 +                <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
   794 +                <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
   795 +                <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
   795 +                <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   796 +                <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   836 +                       tooltiptext="&pageReportIcon.tooltip;"
   837 +                       tooltiptext="&pageReportIcon.tooltip;"
   837 +                       onclick="gPopupBlockerObserver.onReportButtonClick(event);"/>
   838 +                       onclick="gPopupBlockerObserver.onReportButtonClick(event);"/>
   838 +                <image id="readinglist-addremove-button"
   839 +                <image id="readinglist-addremove-button"
   839 +                       class="urlbar-icon"
   840 +                       class="urlbar-icon"
   840 +                       hidden="true"
   841 +                       hidden="true"
   841 +                       onclick="ReadingListUI.togglePageByBrowser(gBrowser.selectedBrowser);"/>
   842 +                       onclick="ReadingListUI.buttonClick(event);"/>
   842 +                <image id="reader-mode-button"
   843 +                <image id="reader-mode-button"
   843 +                       class="urlbar-icon"
   844 +                       class="urlbar-icon"
   844 +                       hidden="true"
   845 +                       hidden="true"
   845 +                       onclick="ReaderParent.buttonClick(event);"/>
   846 +                       onclick="ReaderParent.buttonClick(event);"/>
   846 +              </hbox>
   847 +              </hbox>
  1296 +   </toolbar>
  1297 +   </toolbar>
  1297 +  </vbox>
  1298 +  </vbox>
  1298 +
  1299 +
  1299 +  <svg:svg height="0">
  1300 +  <svg:svg height="0">
  1300 +#include tab-shape.inc.svg
  1301 +#include tab-shape.inc.svg
  1301 +    <svg:clipPath id="urlbar-back-button-clip-path" clipPathUnits="userSpaceOnUse">
  1302 +    <svg:clipPath id="urlbar-back-button-clip-path">
  1302 +#ifndef XP_MACOSX
  1303 +#ifndef XP_MACOSX
  1303 +      <svg:path d="m 1,-5 l 0,7.8 c 2.5,3.2 4,6.2 4,10.2 c 0,4 -1.5,7 -4,10 l 0,22l10000,0 l 0,-50 l -10000,0 z"/>
  1304 +      <svg:path d="M -9,-4 l 0,1 a 15 15 0 0,1 0,30 l 0,1 l 10000,0 l 0,-32 l -10000,0 z" />
  1304 +#else
  1305 +#else
  1305 +      <svg:path d="M -11,-5 a 16 16 0 0 1 0,34 l 10000,0 l 0,-34 l -10000,0 z"/>
  1306 +      <svg:path d="M -11,-5 a 16 16 0 0 1 0,34 l 10000,0 l 0,-34 l -10000,0 z"/>
  1306 +#endif
  1307 +#endif
  1307 +    </svg:clipPath>
  1308 +    </svg:clipPath>
       
  1309 +#ifdef XP_WIN
       
  1310 +    <svg:clipPath id="urlbar-back-button-clip-path-win10">
       
  1311 +      <svg:path d="M -6,-2 l 0,1 a 15 15 0 0,1 0,30 l 0,1 l 10000,0 l 0,-32 l -10000,0 z" />
       
  1312 +    </svg:clipPath>
       
  1313 +#endif
  1308 +  </svg:svg>
  1314 +  </svg:svg>
  1309 +
  1315 +
  1310 +</vbox>
  1316 +</vbox>
  1311 +# <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck.
  1317 +# <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck.
  1312 +#     Introducing the iframe dynamically, as needed, was found to be better than
  1318 +#     Introducing the iframe dynamically, as needed, was found to be better than
  1334                  default="true"
  1340                  default="true"
  1335                  oncommand="StarUI.panel.hidePopup();"/>
  1341                  oncommand="StarUI.panel.hidePopup();"/>
  1336          <button id="editBookmarkPanelDeleteButton"
  1342          <button id="editBookmarkPanelDeleteButton"
  1337                  class="editBookmarkPanelBottomButton"
  1343                  class="editBookmarkPanelBottomButton"
  1338                  label="&editBookmark.cancel.label;"
  1344                  label="&editBookmark.cancel.label;"
  1339 @@ -1234,17 +1234,17 @@
  1345 @@ -1235,17 +1235,17 @@
  1340  
  1346  
  1341    <hbox id="full-screen-warning-container" hidden="true" fadeout="true">
  1347    <hbox id="full-screen-warning-container" hidden="true" fadeout="true">
  1342      <hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. -->
  1348      <hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. -->
  1343        <vbox id="full-screen-warning-message" align="center">
  1349        <vbox id="full-screen-warning-message" align="center">
  1344          <description id="full-screen-domain-text"/>
  1350          <description id="full-screen-domain-text"/>
  1461      // In Windows 8 we launch the control panel since it's the only
  1467      // In Windows 8 we launch the control panel since it's the only
  1462      // way to get all file type association prefs. So we don't know
  1468      // way to get all file type association prefs. So we don't know
  1463      // when the user will select the default.  We refresh here periodically
  1469      // when the user will select the default.  We refresh here periodically
  1464      // in case the default changes.  On other Windows OS's defaults can also
  1470      // in case the default changes.  On other Windows OS's defaults can also
  1465      // be set while the prefs are open.
  1471      // be set while the prefs are open.
  1466 @@ -549,16 +555,27 @@ var gMainPane = {
  1472 @@ -524,16 +530,27 @@ var gMainPane = {
  1467     */
  1473     */
  1468    setDefaultBrowser: function()
  1474    setDefaultBrowser: function()
  1469    {
  1475    {
  1470      let shellSvc = getShellService();
  1476      let shellSvc = getShellService();
  1471      if (!shellSvc)
  1477      if (!shellSvc)
  1929 +
  1935 +
  1930 +#endif // nsunixshellservice_h____
  1936 +#endif // nsunixshellservice_h____
  1931 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
  1937 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
  1932 --- a/browser/installer/package-manifest.in
  1938 --- a/browser/installer/package-manifest.in
  1933 +++ b/browser/installer/package-manifest.in
  1939 +++ b/browser/installer/package-manifest.in
  1934 @@ -698,19 +698,21 @@
  1940 @@ -703,19 +703,21 @@
  1935  @RESPATH@/defaults/autoconfig/prefcalls.js
  1941  @RESPATH@/defaults/autoconfig/prefcalls.js
  1936  @RESPATH@/browser/defaults/profile/prefs.js
  1942  @RESPATH@/browser/defaults/profile/prefs.js
  1937  
  1943  
  1938  #ifndef LIBXUL_SDK
  1944  #ifndef LIBXUL_SDK
  1939  ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
  1945  ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)