firefox-kde.patch
branchfirefox29
changeset 721 6f30563d969e
parent 716 cef565f1c325
equal deleted inserted replaced
720:f372890e9681 721:6f30563d969e
     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,1213 @@
     5 @@ -0,0 +1,1217 @@
     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 +# This Source Code Form is subject to the terms of the Mozilla Public
    10 +# This Source Code Form is subject to the terms of the Mozilla Public
   506 +        <toolbarbutton class="titlebar-button" id="titlebar-max" oncommand="onTitlebarMaxClick();"/>
   506 +        <toolbarbutton class="titlebar-button" id="titlebar-max" oncommand="onTitlebarMaxClick();"/>
   507 +        <toolbarbutton class="titlebar-button" id="titlebar-close" command="cmd_closeWindow"/>
   507 +        <toolbarbutton class="titlebar-button" id="titlebar-close" command="cmd_closeWindow"/>
   508 +      </hbox>
   508 +      </hbox>
   509 +    </hbox>
   509 +    </hbox>
   510 +#ifdef XP_MACOSX
   510 +#ifdef XP_MACOSX
   511 +    <hbox id="titlebar-fullscreen-button"/>
   511 +    <!-- OS X does not natively support RTL for its titlebar items, so we prevent this secondary
       
   512 +         buttonbox from reversing order in RTL by forcing an LTR direction. -->
       
   513 +    <hbox id="titlebar-secondary-buttonbox" dir="ltr">
       
   514 +      <hbox class="private-browsing-indicator"/>
       
   515 +      <hbox id="titlebar-fullscreen-button"/>
       
   516 +    </hbox>
   512 +#endif
   517 +#endif
   513 +  </hbox>
   518 +  </hbox>
   514 +</vbox>
   519 +</vbox>
   515 +#endif
   520 +#endif
   516 +
   521 +
   610 +                     command="cmd_close"
   615 +                     command="cmd_close"
   611 +                     label="&closeTab.label;"
   616 +                     label="&closeTab.label;"
   612 +                     cui-areatype="toolbar"
   617 +                     cui-areatype="toolbar"
   613 +                     tooltiptext="&closeTab.label;"/>
   618 +                     tooltiptext="&closeTab.label;"/>
   614 +
   619 +
   615 +#ifdef XP_WIN
   620 +#if !defined(MOZ_WIDGET_GTK) && !defined(MOZ_WIDGET_QT)
   616 +      <hbox class="private-browsing-indicator" skipintoolbarset="true" ordinal="1000"/>
   621 +      <hbox class="private-browsing-indicator" skipintoolbarset="true"/>
   617 +#endif
   622 +#endif
   618 +#ifdef CAN_DRAW_IN_TITLEBAR
   623 +#ifdef CAN_DRAW_IN_TITLEBAR
   619 +      <hbox class="titlebar-placeholder" type="caption-buttons"
   624 +      <hbox class="titlebar-placeholder" type="caption-buttons"
   620 +            id="titlebar-placeholder-on-TabsToolbar-for-captions-buttons" persist="width"
   625 +            id="titlebar-placeholder-on-TabsToolbar-for-captions-buttons" persist="width"
   621 +#ifndef XP_MACOSX
   626 +#ifndef XP_MACOSX
  1189 +  </vbox>
  1194 +  </vbox>
  1190 +
  1195 +
  1191 +  <svg:svg height="0">
  1196 +  <svg:svg height="0">
  1192 +#include tab-shape.inc.svg
  1197 +#include tab-shape.inc.svg
  1193 +
  1198 +
  1194 +#ifndef XP_UNIX
  1199 +#ifndef XP_MACOSX
  1195 +    <svg:clipPath id="windows-keyhole-forward-clip-path" clipPathUnits="userSpaceOnUse">
  1200 +    <svg:clipPath id="keyhole-forward-clip-path" clipPathUnits="objectBoundingBox">
  1196 +      <svg:path d="M 0,0 a 16 16 0 0 1 0,24 l 10000,0 l 0,-24 l -10000,0 z"/>
  1201 +      <svg:path d="m 0,0 c .3,.25 .3,.75, 0,1 l 1,0 0,-1 z"/>
  1197 +    </svg:clipPath>
  1202 +    </svg:clipPath>
  1198 +    <svg:clipPath id="windows-urlbar-back-button-clip-path" clipPathUnits="userSpaceOnUse">
  1203 +    <svg:clipPath id="urlbar-back-button-clip-path" clipPathUnits="userSpaceOnUse">
  1199 +      <svg:path d="M -1,1 a 16 16 0 0 1 0,24 l 10000,0 l 0,-24 l -10000,0 z"/>
  1204 +      <svg:path d="m 0,-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"/>
  1200 +    </svg:clipPath>
  1205 +    </svg:clipPath>
  1201 +#endif
  1206 +#else
  1202 +#ifdef XP_MACOSX
       
  1203 +    <svg:clipPath id="osx-keyhole-forward-clip-path" clipPathUnits="userSpaceOnUse">
  1207 +    <svg:clipPath id="osx-keyhole-forward-clip-path" clipPathUnits="userSpaceOnUse">
  1204 +      <svg:path d="M 0,0 a 16 16 0 0 1 0,24 l 10000,0 l 0,-24 l -10000,0 z"/>
  1208 +      <svg:path d="M 0,0 a 16 16 0 0 1 0,24 l 10000,0 l 0,-24 l -10000,0 z"/>
  1205 +    </svg:clipPath>
  1209 +    </svg:clipPath>
  1206 +    <svg:clipPath id="osx-urlbar-back-button-clip-path" clipPathUnits="userSpaceOnUse">
  1210 +    <svg:clipPath id="osx-urlbar-back-button-clip-path" clipPathUnits="userSpaceOnUse">
  1207 +      <svg:path d="M -12,-5 a 16 16 0 0 1 0,34 l 10000,0 l 0,-34 l -10000,0 z"/>
  1211 +      <svg:path d="M -12,-5 a 16 16 0 0 1 0,34 l 10000,0 l 0,-34 l -10000,0 z"/>