refresh browser-kde.xul
authorWolfgang Rosenauer <wr@rosenauer.org>
Wed, 12 Jan 2011 23:55:42 +0100
changeset 211 aef7c16cb0e5
parent 210 f4f4388b26a8
child 212 f25759227036
refresh browser-kde.xul
firefox-kde.patch
--- a/firefox-kde.patch	Wed Jan 12 22:45:15 2011 +0100
+++ b/firefox-kde.patch	Wed Jan 12 23:55:42 2011 +0100
@@ -23,7 +23,7 @@
 new file mode 100644
 --- /dev/null
 +++ b/browser/base/content/browser-kde.xul
-@@ -0,0 +1,1042 @@
+@@ -0,0 +1,1058 @@
 +#filter substitution
 +<?xml version="1.0"?>
 +# -*- Mode: HTML -*-
@@ -329,7 +329,8 @@
 +    </menupopup>
 +
 +    <menupopup id="blockedPopupOptions"
-+               onpopupshowing="gPopupBlockerObserver.fillPopupList(event);">
++               onpopupshowing="gPopupBlockerObserver.fillPopupList(event);"
++               onpopuphiding="gPopupBlockerObserver.onPopupHiding(event);">
 +      <menuitem observes="blockedPopupAllowSite"/>
 +      <menuitem observes="blockedPopupEditSettings"/>
 +      <menuitem observes="blockedPopupDontShowMessage"/>
@@ -398,7 +399,7 @@
 +                         class="identity-popup-description"/>
 +          </hbox>
 +          <!-- Footer button to open security page info -->
-+          <hbox pack="end">
++          <hbox id="identity-popup-button-container" pack="end">
 +            <button id="identity-popup-more-info-button"
 +                    label="&identity.moreInfoLinkText;"
 +                    onblur="gIdentityHandler.hideIdentityPopup();"
@@ -510,6 +511,11 @@
 +# hiddenWindow.xul.
 +#include browser-menubar.inc
 +      </toolbaritem>
++
++#ifdef CAN_DRAW_IN_TITLEBAR
++      <hbox class="titlebar-placeholder" type="appmenu-button" ordinal="0"/>
++      <hbox class="titlebar-placeholder" type="caption-buttons" ordinal="1000"/>
++#endif
 +    </toolbar>
 +
 +    <toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
@@ -592,6 +598,12 @@
 +          </box>
 +          <label id="urlbar-display" value="&urlbar.switchToTab.label;"/>
 +          <hbox id="urlbar-icons">
++            <image id="page-report-button"
++                   class="urlbar-icon"
++                   hidden="true"
++                   tooltiptext="&pageReportIcon.tooltip;"
++                   onclick="gPopupBlockerObserver.onReportButtonClick(event);"/>
++
 +            <image id="star-button"
 +                   class="urlbar-icon"
 +                   onclick="PlacesStarButton.onClick(event);"/>
@@ -869,6 +881,10 @@
 +                     label="&closeTab.label;"
 +                     tooltiptext="&closeTab.label;"/>
 +
++#ifdef CAN_DRAW_IN_TITLEBAR
++      <hbox class="titlebar-placeholder" type="appmenu-button" ordinal="0"/>
++      <hbox class="titlebar-placeholder" type="caption-buttons" ordinal="1000"/>
++#endif
 +    </toolbar>
 +
 +    <toolbarpalette id="BrowserToolbarPalette">
@@ -1543,7 +1559,7 @@
 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
 --- a/browser/installer/package-manifest.in
 +++ b/browser/installer/package-manifest.in
-@@ -441,16 +441,17 @@
+@@ -442,16 +442,17 @@
  #endif
  #endif