firefox-kde.patch
branchfirefox38
changeset 873 b8713c1e2156
parent 865 646495e9e721
equal deleted inserted replaced
865:646495e9e721 873:b8713c1e2156
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent  37dd974224e6c52f4bccc1ea6cef65b0e0add838
     2 # Parent  1cde29cae06548395356e5a5dc0cfb8a42597c65
     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,1311 @@
     8 @@ -0,0 +1,1302 @@
     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
   736 +    <toolbar id="nav-bar"
   736 +    <toolbar id="nav-bar"
   737 +             aria-label="&navbarCmd.label;"
   737 +             aria-label="&navbarCmd.label;"
   738 +             fullscreentoolbar="true" mode="icons" customizable="true"
   738 +             fullscreentoolbar="true" mode="icons" customizable="true"
   739 +             iconsize="small"
   739 +             iconsize="small"
   740 +#ifdef MOZ_DEV_EDITION
   740 +#ifdef MOZ_DEV_EDITION
   741 +             defaultset="urlbar-container,search-container,developer-button,bookmarks-menu-button,pocket-button,downloads-button,home-button,loop-button"
   741 +             defaultset="urlbar-container,search-container,developer-button,bookmarks-menu-button,downloads-button,home-button,loop-button"
   742 +#else
   742 +#else
   743 +             defaultset="urlbar-container,search-container,bookmarks-menu-button,pocket-button,downloads-button,home-button,loop-button"
   743 +             defaultset="urlbar-container,search-container,bookmarks-menu-button,downloads-button,home-button,loop-button"
   744 +#endif
   744 +#endif
   745 +             customizationtarget="nav-bar-customization-target"
   745 +             customizationtarget="nav-bar-customization-target"
   746 +             overflowable="true"
   746 +             overflowable="true"
   747 +             overflowbutton="nav-bar-overflow-button"
   747 +             overflowbutton="nav-bar-overflow-button"
   748 +             overflowtarget="widget-overflow-list"
   748 +             overflowtarget="widget-overflow-list"
   888 +                     context="placesContext"
   888 +                     context="placesContext"
   889 +                     openInTabs="children"
   889 +                     openInTabs="children"
   890 +                     oncommand="BookmarksEventHandler.onCommand(event, this.parentNode._placesView);"
   890 +                     oncommand="BookmarksEventHandler.onCommand(event, this.parentNode._placesView);"
   891 +                     onclick="BookmarksEventHandler.onClick(event, this.parentNode._placesView);"
   891 +                     onclick="BookmarksEventHandler.onClick(event, this.parentNode._placesView);"
   892 +                     onpopupshowing="BookmarkingUI.onPopupShowing(event);
   892 +                     onpopupshowing="BookmarkingUI.onPopupShowing(event);
   893 +                                     BookmarkingUI.updatePocketItemVisibility('BMB_');
       
   894 +                                     BookmarkingUI.attachPlacesView(event, this);"
   893 +                                     BookmarkingUI.attachPlacesView(event, this);"
   895 +                     tooltip="bhTooltip" popupsinherittooltip="true">
   894 +                     tooltip="bhTooltip" popupsinherittooltip="true">
   896 +            <menuitem id="BMB_viewBookmarksSidebar"
   895 +            <menuitem id="BMB_viewBookmarksSidebar"
   897 +                      class="subviewbutton"
   896 +                      class="subviewbutton"
   898 +                      label="&viewBookmarksSidebar2.label;"
   897 +                      label="&viewBookmarksSidebar2.label;"
   905 +                      class="menuitem-iconic subviewbutton"
   904 +                      class="menuitem-iconic subviewbutton"
   906 +                      label="&showAllBookmarks2.label;"
   905 +                      label="&showAllBookmarks2.label;"
   907 +                      command="Browser:ShowAllBookmarks"
   906 +                      command="Browser:ShowAllBookmarks"
   908 +                      key="manBookmarkKb"/>
   907 +                      key="manBookmarkKb"/>
   909 +            <menuseparator/>
   908 +            <menuseparator/>
   910 +            <menuitem id="BMB_pocket"
       
   911 +                      class="menuitem-iconic bookmark-item subviewbutton"
       
   912 +                      label="&pocketMenuitem.label;"
       
   913 +                      oncommand="openUILink(Pocket.listURL, event);"/>
       
   914 +            <menuseparator id="BMB_pocketSeparator"/>
       
   915 +            <menuitem id="BMB_subscribeToPageMenuitem"
   909 +            <menuitem id="BMB_subscribeToPageMenuitem"
   916 +#ifndef XP_MACOSX
   910 +#ifndef XP_MACOSX
   917 +                      class="menuitem-iconic subviewbutton"
   911 +                      class="menuitem-iconic subviewbutton"
   918 +#else
   912 +#else
   919 +                      class="subviewbutton"
   913 +                      class="subviewbutton"
  1310 +</vbox>
  1304 +</vbox>
  1311 +# <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck.
  1305 +# <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
  1306 +#     Introducing the iframe dynamically, as needed, was found to be better than
  1313 +#     starting with an empty iframe here in browser.xul from a Ts standpoint.
  1307 +#     starting with an empty iframe here in browser.xul from a Ts standpoint.
  1314 +</deck>
  1308 +</deck>
  1315 +
       
  1316 +<script type="application/javascript" src="chrome://browser/content/pocket/pktApi.js"/>
       
  1317 +<script type="application/javascript" src="chrome://browser/content/pocket/main.js"/>
       
  1318 +
  1309 +
  1319 +</window>
  1310 +</window>
  1320 diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
  1311 diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
  1321 --- a/browser/base/content/browser.xul
  1312 --- a/browser/base/content/browser.xul
  1322 +++ b/browser/base/content/browser.xul
  1313 +++ b/browser/base/content/browser.xul