firefox-kde.patch
branchfirefox24
changeset 662 775530ba0729
parent 659 fa96cf6ffd14
child 680 be770d3cbc02
equal deleted inserted replaced
661:aac91d5705b1 662:775530ba0729
     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,1196 @@
     5 @@ -0,0 +1,1097 @@
     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
   100 +                oncommand="gBrowser.reloadAllTabs();"/>
   100 +                oncommand="gBrowser.reloadAllTabs();"/>
   101 +      <menuitem id="context_bookmarkAllTabs"
   101 +      <menuitem id="context_bookmarkAllTabs"
   102 +                label="&bookmarkAllTabs.label;"
   102 +                label="&bookmarkAllTabs.label;"
   103 +                accesskey="&bookmarkAllTabs.accesskey;"
   103 +                accesskey="&bookmarkAllTabs.accesskey;"
   104 +                command="Browser:BookmarkAllTabs"/>
   104 +                command="Browser:BookmarkAllTabs"/>
       
   105 +      <menuitem id="context_closeTabsToTheEnd" label="&closeTabsToTheEnd.label;" accesskey="&closeTabsToTheEnd.accesskey;"
       
   106 +                oncommand="gBrowser.removeTabsToTheEndFrom(TabContextMenu.contextTab);"/>
   105 +      <menuitem id="context_closeOtherTabs" label="&closeOtherTabs.label;" accesskey="&closeOtherTabs.accesskey;"
   107 +      <menuitem id="context_closeOtherTabs" label="&closeOtherTabs.label;" accesskey="&closeOtherTabs.accesskey;"
   106 +                oncommand="gBrowser.removeAllTabsBut(TabContextMenu.contextTab);"/>
   108 +                oncommand="gBrowser.removeAllTabsBut(TabContextMenu.contextTab);"/>
   107 +      <menuseparator/>
   109 +      <menuseparator/>
   108 +      <menuitem id="context_undoCloseTab"
   110 +      <menuitem id="context_undoCloseTab"
   109 +                label="&undoCloseTab.label;"
   111 +                label="&undoCloseTab.label;"
   233 +           onpopupshown="SocialFlyout.onShown()"
   235 +           onpopupshown="SocialFlyout.onShown()"
   234 +           onpopuphidden="SocialFlyout.onHidden()"
   236 +           onpopuphidden="SocialFlyout.onHidden()"
   235 +           side="right"
   237 +           side="right"
   236 +           type="arrow"
   238 +           type="arrow"
   237 +           hidden="true"
   239 +           hidden="true"
       
   240 +           flip="slide"
   238 +           rolluponmousewheel="true"
   241 +           rolluponmousewheel="true"
   239 +           consumeoutsideclicks="false"
   242 +           consumeoutsideclicks="false"
   240 +           noautofocus="true"
   243 +           noautofocus="true"
   241 +           position="topcenter topright"/>
   244 +           position="topcenter topright"/>
   242 +
   245 +
   287 +#include browser-context.inc
   290 +#include browser-context.inc
   288 +    </menupopup>
   291 +    </menupopup>
   289 +
   292 +
   290 +    <menupopup id="placesContext"/>
   293 +    <menupopup id="placesContext"/>
   291 +
   294 +
   292 +    <panel id="notification-popup"
       
   293 +           type="arrow"
       
   294 +           footertype="promobox"
       
   295 +           position="after_start"
       
   296 +           hidden="true"
       
   297 +           orient="vertical"
       
   298 +           role="alert"/>
       
   299 +
       
   300 +    <!-- Popup for site identity information -->
       
   301 +    <panel id="identity-popup"
       
   302 +           type="arrow"
       
   303 +           hidden="true"
       
   304 +           noautofocus="true"
       
   305 +           consumeoutsideclicks="true"
       
   306 +           onpopupshown="gIdentityHandler.onPopupShown(event);"
       
   307 +           level="top">
       
   308 +      <hbox id="identity-popup-container" align="top">
       
   309 +        <image id="identity-popup-icon"/>
       
   310 +        <vbox id="identity-popup-content-box">
       
   311 +          <label id="identity-popup-connectedToLabel"
       
   312 +                 class="identity-popup-label"
       
   313 +                 value="&identity.connectedTo;"/>
       
   314 +          <label id="identity-popup-connectedToLabel2"
       
   315 +                 class="identity-popup-label"
       
   316 +                 value="&identity.unverifiedsite2;"/>
       
   317 +          <description id="identity-popup-content-host"
       
   318 +                       class="identity-popup-description"/>
       
   319 +          <label id="identity-popup-runByLabel"
       
   320 +                 class="identity-popup-label"
       
   321 +                 value="&identity.runBy;"/>
       
   322 +          <description id="identity-popup-content-owner"
       
   323 +                       class="identity-popup-description"/>
       
   324 +          <description id="identity-popup-content-supplemental"
       
   325 +                       class="identity-popup-description"/>
       
   326 +          <description id="identity-popup-content-verifier"
       
   327 +                       class="identity-popup-description"/>
       
   328 +          <hbox id="identity-popup-encryption" flex="1">
       
   329 +            <vbox>
       
   330 +              <image id="identity-popup-encryption-icon"/>
       
   331 +            </vbox>
       
   332 +            <description id="identity-popup-encryption-label" flex="1"
       
   333 +                         class="identity-popup-description"/>
       
   334 +          </hbox>
       
   335 +          <!-- Footer button to open security page info -->
       
   336 +          <hbox id="identity-popup-button-container" pack="end">
       
   337 +            <button id="identity-popup-more-info-button"
       
   338 +                    label="&identity.moreInfoLinkText;"
       
   339 +                    onblur="gIdentityHandler.hideIdentityPopup();"
       
   340 +                    oncommand="gIdentityHandler.handleMoreInfoClick(event);"/>
       
   341 +          </hbox>
       
   342 +        </vbox>
       
   343 +      </hbox>
       
   344 +    </panel>
       
   345 +
   295 +
   346 +    <panel id="ctrlTab-panel" class="KUI-panel" hidden="true" norestorefocus="true" level="top">
   296 +    <panel id="ctrlTab-panel" class="KUI-panel" hidden="true" norestorefocus="true" level="top">
   347 +      <hbox>
   297 +      <hbox>
   348 +        <button class="ctrlTab-preview" flex="1"/>
   298 +        <button class="ctrlTab-preview" flex="1"/>
   349 +        <button class="ctrlTab-preview" flex="1"/>
   299 +        <button class="ctrlTab-preview" flex="1"/>
   382 +#else
   332 +#else
   383 +      <label class="tooltip-label" value="&backForwardButtonMenu.tooltip;"/>
   333 +      <label class="tooltip-label" value="&backForwardButtonMenu.tooltip;"/>
   384 +#endif
   334 +#endif
   385 +    </tooltip>
   335 +    </tooltip>
   386 +
   336 +
   387 +    <popupnotification id="webRTC-shareDevices-notification" hidden="true">
   337 +#include popup-notifications.inc
   388 +      <popupnotificationcontent id="webRTC-selectCamera" orient="vertical">
       
   389 +        <separator class="thin"/>
       
   390 +        <label value="&getUserMedia.selectCamera.label;"
       
   391 +               accesskey="&getUserMedia.selectCamera.accesskey;"
       
   392 +               control="webRTC-selectCamera-menulist"/>
       
   393 +        <menulist id="webRTC-selectCamera-menulist">
       
   394 +          <menupopup id="webRTC-selectCamera-menupopup"/>
       
   395 +        </menulist>
       
   396 +      </popupnotificationcontent>
       
   397 +      <popupnotificationcontent id="webRTC-selectMicrophone" orient="vertical">
       
   398 +        <separator class="thin"/>
       
   399 +        <label value="&getUserMedia.selectMicrophone.label;"
       
   400 +               accesskey="&getUserMedia.selectMicrophone.accesskey;"
       
   401 +               control="webRTC-selectMicrophone-menulist"/>
       
   402 +        <menulist id="webRTC-selectMicrophone-menulist">
       
   403 +          <menupopup id="webRTC-selectMicrophone-menupopup"/>
       
   404 +        </menulist>
       
   405 +      </popupnotificationcontent>
       
   406 +    </popupnotification>
       
   407 +
       
   408 +    <popupnotification id="geolocation-notification" hidden="true">
       
   409 +      <popupnotificationcontent orient="vertical" align="start">
       
   410 +        <separator class="thin"/>
       
   411 +        <label id="geolocation-learnmore-link" class="text-link"/>
       
   412 +      </popupnotificationcontent>
       
   413 +    </popupnotification>
       
   414 +
       
   415 +    <popupnotification id="servicesInstall-notification" hidden="true">
       
   416 +      <popupnotificationcontent orient="vertical" align="start">
       
   417 +        <separator class="thin"/>
       
   418 +        <label id="servicesInstall-learnmore-link" class="text-link"/>
       
   419 +      </popupnotificationcontent>
       
   420 +    </popupnotification>
       
   421 +
       
   422 +    <popupnotification id="pointerLock-notification" hidden="true">
       
   423 +      <popupnotificationcontent orient="vertical" align="start">
       
   424 +        <separator class="thin"/>
       
   425 +        <label id="pointerLock-cancel" value="&pointerLock.notification.message;"/>
       
   426 +      </popupnotificationcontent>
       
   427 +    </popupnotification>
       
   428 +
       
   429 +    <popupnotification id="mixed-content-blocked-notification" hidden="true">
       
   430 +      <popupnotificationcontent orient="vertical" align="start">
       
   431 +        <separator/>
       
   432 +        <description id="mixed-content-blocked-moreinfo">&mixedContentBlocked.moreinfo;</description>
       
   433 +        <separator/>
       
   434 +        <label id="mixed-content-blocked-helplink" class="text-link"
       
   435 +               value="&mixedContentBlocked.helplink;"/>
       
   436 +      </popupnotificationcontent>
       
   437 +    </popupnotification>
       
   438 +
   338 +
   439 +  </popupset>
   339 +  </popupset>
   440 +
   340 +
   441 +#ifdef CAN_DRAW_IN_TITLEBAR
   341 +#ifdef CAN_DRAW_IN_TITLEBAR
   442 +<vbox id="titlebar">
   342 +<vbox id="titlebar">
   550 +            <image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button"/>
   450 +            <image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button"/>
   551 +            <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
   451 +            <image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
   552 +            <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
   452 +            <image id="webapps-notification-icon" class="notification-anchor-icon" role="button"/>
   553 +            <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   453 +            <image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   554 +            <image id="web-notifications-notification-icon" class="notification-anchor-icon" role="button"/>
   454 +            <image id="web-notifications-notification-icon" class="notification-anchor-icon" role="button"/>
       
   455 +            <image id="alert-plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   555 +            <image id="blocked-plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   456 +            <image id="blocked-plugins-notification-icon" class="notification-anchor-icon" role="button"/>
   556 +            <image id="plugin-install-notification-icon" class="notification-anchor-icon" role="button"/>
   457 +            <image id="plugin-install-notification-icon" class="notification-anchor-icon" role="button"/>
   557 +            <image id="mixed-content-blocked-notification-icon" class="notification-anchor-icon" role="button"/>
   458 +            <image id="mixed-content-blocked-notification-icon" class="notification-anchor-icon" role="button"/>
   558 +            <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   459 +            <image id="webRTC-shareDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   559 +            <image id="webRTC-sharingDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   460 +            <image id="webRTC-sharingDevices-notification-icon" class="notification-anchor-icon" role="button"/>
   743 +                   removable="false"
   644 +                   removable="false"
   744 +                   title="&socialToolbar.title;"
   645 +                   title="&socialToolbar.title;"
   745 +                   hidden="true"
   646 +                   hidden="true"
   746 +                   skipintoolbarset="true"
   647 +                   skipintoolbarset="true"
   747 +                   observes="socialActiveBroadcaster">
   648 +                   observes="socialActiveBroadcaster">
       
   649 +        <toolbarbutton id="social-notification-icon" class="default-notification-icon toolbarbutton-1 notification-anchor-icon"
       
   650 +                   oncommand="PopupNotifications._reshowNotifications(this,
       
   651 +                                document.getElementById('social-sidebar-browser'));"/>
   748 +        <toolbarbutton id="social-provider-button"
   652 +        <toolbarbutton id="social-provider-button"
   749 +                       class="toolbarbutton-1"
   653 +                       class="toolbarbutton-1"
   750 +                       type="menu">
   654 +                       type="menu">
   751 +          <menupopup id="social-statusarea-popup">
   655 +          <menupopup id="social-statusarea-popup">
   752 +            <menuitem class="social-statusarea-user menuitem-iconic" pack="start" align="center"
   656 +            <menuitem class="social-statusarea-user menuitem-iconic" pack="start" align="center"
   955 +      <toolbarbutton id="downloads-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   859 +      <toolbarbutton id="downloads-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   956 +                     oncommand="DownloadsIndicatorView.onCommand(event);"
   860 +                     oncommand="DownloadsIndicatorView.onCommand(event);"
   957 +                     ondrop="DownloadsIndicatorView.onDrop(event);"
   861 +                     ondrop="DownloadsIndicatorView.onDrop(event);"
   958 +                     ondragover="DownloadsIndicatorView.onDragOver(event);"
   862 +                     ondragover="DownloadsIndicatorView.onDragOver(event);"
   959 +                     ondragenter="DownloadsIndicatorView.onDragOver(event);"
   863 +                     ondragenter="DownloadsIndicatorView.onDragOver(event);"
   960 +                     ondragleave="DownloadsIndicatorView.onDragLeave(event);"
       
   961 +                     label="&downloads.label;"
   864 +                     label="&downloads.label;"
   962 +                     tooltiptext="&downloads.tooltip;"/>
   865 +                     tooltiptext="&downloads.tooltip;"/>
   963 +
   866 +
   964 +      <toolbarbutton id="history-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   867 +      <toolbarbutton id="history-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
   965 +                     observes="viewHistorySidebar" label="&historyButton.label;"
   868 +                     observes="viewHistorySidebar" label="&historyButton.label;"
  1083 +      <browser id="social-sidebar-browser"
   986 +      <browser id="social-sidebar-browser"
  1084 +               type="content"
   987 +               type="content"
  1085 +               context="contentAreaContextMenu"
   988 +               context="contentAreaContextMenu"
  1086 +               disableglobalhistory="true"
   989 +               disableglobalhistory="true"
  1087 +               tooltip="aHTMLTooltip"
   990 +               tooltip="aHTMLTooltip"
       
   991 +               popupnotificationanchor="social-notification-icon"
  1088 +               flex="1"
   992 +               flex="1"
  1089 +               style="min-width: 14em; width: 18em; max-width: 36em;"/>
   993 +               style="min-width: 14em; width: 18em; max-width: 36em;"/>
  1090 +    </vbox>
   994 +    </vbox>
  1091 +    <vbox id="browser-border-end" hidden="true" layer="true"/>
   995 +    <vbox id="browser-border-end" hidden="true" layer="true"/>
  1092 +  </hbox>
   996 +  </hbox>
  1122 +                         class="devtools-closebutton"
  1026 +                         class="devtools-closebutton"
  1123 +                         oncommand="DeveloperToolbar.hide();"
  1027 +                         oncommand="DeveloperToolbar.hide();"
  1124 +                         tooltiptext="&devToolbarCloseButton.tooltiptext;"/>
  1028 +                         tooltiptext="&devToolbarCloseButton.tooltiptext;"/>
  1125 +#endif
  1029 +#endif
  1126 +          <stack class="gclitoolbar-stack-node" flex="1">
  1030 +          <stack class="gclitoolbar-stack-node" flex="1">
  1127 +            <hbox class="gclitoolbar-prompt">
  1031 +            <textbox class="gclitoolbar-input-node" rows="1"/>
  1128 +              <label class="gclitoolbar-prompt-label">&#187;</label>
       
  1129 +            </hbox>
       
  1130 +            <hbox class="gclitoolbar-complete-node"/>
  1032 +            <hbox class="gclitoolbar-complete-node"/>
  1131 +            <textbox class="gclitoolbar-input-node" rows="1"/>
       
  1132 +          </stack>
  1033 +          </stack>
  1133 +          <toolbarbutton id="developer-toolbar-toolbox-button"
  1034 +          <toolbarbutton id="developer-toolbar-toolbox-button"
  1134 +                         class="developer-toolbar-button"
  1035 +                         class="developer-toolbar-button"
  1135 +                         observes="devtoolsMenuBroadcaster_DevToolbox"
  1036 +                         observes="devtoolsMenuBroadcaster_DevToolbox"
  1136 +                         tooltiptext="&devToolbarToolsButton.tooltip;"/>
  1037 +                         tooltiptext="&devToolbarToolsButton.tooltip;"/>