firefox-kde.patch
branchfirefox14
changeset 476 2e9bfc3f8bf9
parent 462 2d86bdb4277f
child 480 f99d16f8b0f5
equal deleted inserted replaced
475:b0df28e752fd 476:2e9bfc3f8bf9
     1 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
     1 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
     2 new file mode 100644
     2 new file mode 100644
     3 --- /dev/null
     3 --- /dev/null
     4 +++ b/browser/base/content/browser-kde.xul
     4 +++ b/browser/base/content/browser-kde.xul
     5 @@ -0,0 +1,1116 @@
     5 @@ -0,0 +1,1122 @@
     6 +#filter substitution
     6 +#filter substitution
     7 +<?xml version="1.0"?>
     7 +<?xml version="1.0"?>
     8 +# -*- Mode: HTML -*-
     8 +# -*- Mode: HTML -*-
     9 +#
     9 +#
    10 +# ***** BEGIN LICENSE BLOCK *****
    10 +# ***** BEGIN LICENSE BLOCK *****
    97 +        lightweightthemesfooter="browser-bottombox"
    97 +        lightweightthemesfooter="browser-bottombox"
    98 +        windowtype="navigator:browser"
    98 +        windowtype="navigator:browser"
    99 +        macanimationtype="document"
    99 +        macanimationtype="document"
   100 +        screenX="4" screenY="4"
   100 +        screenX="4" screenY="4"
   101 +        browsingmode="normal"
   101 +        browsingmode="normal"
       
   102 +        fullscreenbutton="true"
   102 +        persist="screenX screenY width height sizemode">
   103 +        persist="screenX screenY width height sizemode">
   103 +
   104 +
   104 +# All JS files which are not content (only) dependent that browser.xul
   105 +# All JS files which are not content (only) dependent that browser.xul
   105 +# wishes to include *must* go into the global-scripts.inc file
   106 +# wishes to include *must* go into the global-scripts.inc file
   106 +# so that they can be shared by macBrowserOverlay.xul.
   107 +# so that they can be shared by macBrowserOverlay.xul.
   531 +            <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/>
   532 +            <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/>
   532 +            <image id="addons-notification-icon" class="notification-anchor-icon" role="button"/>
   533 +            <image id="addons-notification-icon" class="notification-anchor-icon" role="button"/>
   533 +            <image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button"/>
   534 +            <image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button"/>
   534 +            <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
   535 +            <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
   535 +            <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
   536 +            <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
       
   537 +            <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   536 +          </box>
   538 +          </box>
   537 +          <!-- Use onclick instead of normal popup= syntax since the popup
   539 +          <!-- Use onclick instead of normal popup= syntax since the popup
   538 +               code fires onmousedown, and hence eats our favicon drag events.
   540 +               code fires onmousedown, and hence eats our favicon drag events.
   539 +               We only add the identity-box button to the tab order when the location bar
   541 +               We only add the identity-box button to the tab order when the location bar
   540 +               has focus, otherwise pressing F6 focuses it instead of the location bar -->
   542 +               has focus, otherwise pressing F6 focuses it instead of the location bar -->
   543 +               onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);"
   545 +               onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);"
   544 +               ondragstart="gIdentityHandler.onDragStart(event);">
   546 +               ondragstart="gIdentityHandler.onDragStart(event);">
   545 +            <hbox id="identity-box-inner" align="center">
   547 +            <hbox id="identity-box-inner" align="center">
   546 +              <hbox id="page-proxy-stack"
   548 +              <hbox id="page-proxy-stack"
   547 +                    onclick="PageProxyClickHandler(event);">
   549 +                    onclick="PageProxyClickHandler(event);">
   548 +                <image id="page-proxy-favicon" validate="never"
   550 +                <image id="page-proxy-favicon"
   549 +                       pageproxystate="invalid"
   551 +                       pageproxystate="invalid"/>
   550 +                       onerror="this.removeAttribute('src');"/>
       
   551 +              </hbox>
   552 +              </hbox>
   552 +              <hbox id="identity-icon-labels">
   553 +              <hbox id="identity-icon-labels">
   553 +                <label id="identity-icon-label" class="plain" flex="1"/>
   554 +                <label id="identity-icon-label" class="plain" flex="1"/>
   554 +                <label id="identity-icon-country-label" class="plain"/>
   555 +                <label id="identity-icon-country-label" class="plain"/>
   555 +              </hbox>
   556 +              </hbox>
   856 +
   857 +
   857 +      <toolbarbutton id="print-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   858 +      <toolbarbutton id="print-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   858 +                     label="&printButton.label;" command="cmd_print"
   859 +                     label="&printButton.label;" command="cmd_print"
   859 +                     tooltiptext="&printButton.tooltip;"/>
   860 +                     tooltiptext="&printButton.tooltip;"/>
   860 +
   861 +
       
   862 +      <!-- This is a placeholder for the Downloads Indicator.  It is visible
       
   863 +           only during the customization of the toolbar or in the palette, and
       
   864 +           is replaced when customization is done. -->
   861 +      <toolbarbutton id="downloads-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   865 +      <toolbarbutton id="downloads-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   862 +                     observes="Tools:Downloads"
   866 +                     observes="Tools:Downloads"
   863 +                     ondrop="DownloadsButtonDNDObserver.onDrop(event)"
   867 +                     ondrop="DownloadsButtonDNDObserver.onDrop(event)"
   864 +                     ondragover="DownloadsButtonDNDObserver.onDragOver(event)"
   868 +                     ondragover="DownloadsButtonDNDObserver.onDragOver(event)"
   865 +                     ondragenter="DownloadsButtonDNDObserver.onDragOver(event)"
   869 +                     ondragenter="DownloadsButtonDNDObserver.onDragOver(event)"
  1009 +      <toolbarbutton id="inspector-inspect-toolbutton"
  1013 +      <toolbarbutton id="inspector-inspect-toolbutton"
  1010 +                     class="devtools-toolbarbutton"
  1014 +                     class="devtools-toolbarbutton"
  1011 +                     command="Inspector:Inspect"/>
  1015 +                     command="Inspector:Inspect"/>
  1012 +      <toolbarbutton id="inspector-treepanel-toolbutton"
  1016 +      <toolbarbutton id="inspector-treepanel-toolbutton"
  1013 +                     class="devtools-toolbarbutton"
  1017 +                     class="devtools-toolbarbutton"
  1014 +                     label="&htmlPanel.label;"
  1018 +                     tabindex="0"
  1015 +                     accesskey="&htmlPanel.accesskey;"
  1019 +                     aria-label="&markupButton.arialabel;"
  1016 +                     tooltiptext="&htmlPanel.tooltiptext;"
  1020 +                     accesskey="&markupButton.accesskey;"
  1017 +                     command="Inspector:HTMLPanel"/>
  1021 +                     command="Inspector:HTMLPanel"/>
  1018 +      <arrowscrollbox id="inspector-breadcrumbs"
  1022 +      <arrowscrollbox id="inspector-breadcrumbs"
  1019 +                      flex="1" orient="horizontal"
  1023 +                      flex="1" orient="horizontal"
  1020 +                      clicktoscroll="true"/>
  1024 +                      clicktoscroll="true"/>
  1021 +      <hbox id="inspector-tools">
  1025 +      <hbox id="inspector-tools">
  1022 +        <toolbarbutton id="inspector-3D-button"
  1026 +        <toolbarbutton id="inspector-3D-button"
  1023 +                       class="devtools-toolbarbutton"
  1027 +                       class="devtools-toolbarbutton"
  1024 +                       hidden="true"
  1028 +                       hidden="true"
  1025 +                       label="&inspect3DViewButton.label;"
  1029 +                       label="&inspect3DViewButton.label;"
  1026 +                       accesskey="&inspect3DViewButton.accesskey;"
  1030 +                       accesskey="&inspect3DViewButton.accesskey;"
       
  1031 +                       tabindex="0"
  1027 +                       command="Inspector:Tilt"/>
  1032 +                       command="Inspector:Tilt"/>
  1028 +        <toolbarbutton id="inspector-style-button"
  1033 +        <toolbarbutton id="inspector-style-button"
  1029 +                       class="devtools-toolbarbutton"
  1034 +                       class="devtools-toolbarbutton"
  1030 +                       label="&inspectStyleButton.label;"
  1035 +                       label="&inspectStyleButton.label;"
  1031 +                       accesskey="&inspectStyleButton.accesskey;"
  1036 +                       accesskey="&inspectStyleButton.accesskey;"
       
  1037 +                       tabindex="0"
  1032 +                       command="Inspector:Sidebar"/>
  1038 +                       command="Inspector:Sidebar"/>
  1033 +        <!-- registered tools go here -->
  1039 +        <!-- registered tools go here -->
  1034 +      </hbox>
  1040 +      </hbox>
  1035 +#ifndef XP_MACOSX
  1041 +#ifndef XP_MACOSX
  1036 +      <toolbarbutton id="highlighter-closebutton"
  1042 +      <toolbarbutton id="highlighter-closebutton"
  1061 +      <svg:rect x="0" y="0" width="1" height="1" fill="white"/>
  1067 +      <svg:rect x="0" y="0" width="1" height="1" fill="white"/>
  1062 +      <svg:circle cx="-0.34" cy="0.5" r="0.61"/>
  1068 +      <svg:circle cx="-0.34" cy="0.5" r="0.61"/>
  1063 +    </svg:mask>
  1069 +    </svg:mask>
  1064 +    <svg:mask id="winstripe-urlbar-back-button-mask" maskContentUnits="userSpaceOnUse">
  1070 +    <svg:mask id="winstripe-urlbar-back-button-mask" maskContentUnits="userSpaceOnUse">
  1065 +      <svg:rect x="0" y="0" width="10000" height="50" fill="white"/>
  1071 +      <svg:rect x="0" y="0" width="10000" height="50" fill="white"/>
  1066 +      <svg:circle cx="-11" cy="13" r="15"/>
  1072 +      <svg:circle cx="-11" cy="18" r="15"/>
  1067 +    </svg:mask>
  1073 +    </svg:mask>
  1068 +  </svg:svg>
  1074 +  </svg:svg>
  1069 +#endif
  1075 +#endif
  1070 +#ifdef XP_MACOSX
  1076 +#ifdef XP_MACOSX
  1071 +  <svg:svg height="0">
  1077 +  <svg:svg height="0">