bookmarksPanel.xul 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  6. <?xml-stylesheet href="chrome://browser/content/places/places.css"?>
  7. <?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
  8. <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
  9. <?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
  10. <!DOCTYPE page SYSTEM "chrome://browser/locale/places/places.dtd">
  11. <page id="bookmarksPanel"
  12. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  13. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  14. onload="init();"
  15. onunload="SidebarUtils.setMouseoverURL('');">
  16. <script type="application/javascript"
  17. src="chrome://browser/content/bookmarks/sidebarUtils.js"/>
  18. <script type="application/javascript"
  19. src="chrome://browser/content/bookmarks/bookmarksPanel.js"/>
  20. <commandset id="placesCommands"/>
  21. <commandset id="editMenuCommands"/>
  22. <keyset id="placesCommandKeys"/>
  23. <menupopup id="placesContext"/>
  24. <!-- Bookmarks and history tooltip -->
  25. <tooltip id="bhTooltip"/>
  26. <hbox id="sidebar-search-container" align="center">
  27. <label id="sidebar-search-label"
  28. value="&search.label;" accesskey="&search.accesskey;" control="search-box"/>
  29. <textbox id="search-box" flex="1" type="search" class="compact"
  30. aria-controls="bookmarks-view"
  31. oncommand="searchBookmarks(this.value);"/>
  32. </hbox>
  33. <tree id="bookmarks-view" class="sidebar-placesTree" type="places"
  34. flex="1"
  35. hidecolumnpicker="true"
  36. context="placesContext"
  37. onkeypress="SidebarUtils.handleTreeKeyPress(event);"
  38. onclick="SidebarUtils.handleTreeClick(this, event, true);"
  39. onmousemove="SidebarUtils.handleTreeMouseMove(event);"
  40. onmouseout="SidebarUtils.setMouseoverURL('');">
  41. <treecols>
  42. <treecol id="title" flex="1" primary="true" hideheader="true"/>
  43. </treecols>
  44. <treechildren id="bookmarks-view-children" view="bookmarks-view"
  45. class="sidebar-placesTreechildren" flex="1" tooltip="bhTooltip"/>
  46. </tree>
  47. </page>