|
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 |
|
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|
7 <?xml-stylesheet href="chrome://browser/content/places/places.css"?> |
|
8 <?xml-stylesheet href="chrome://browser/skin/places/places.css"?> |
|
9 <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?> |
|
10 <?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?> |
|
11 |
|
12 <!DOCTYPE page SYSTEM "chrome://browser/locale/places/places.dtd"> |
|
13 |
|
14 <page id="bookmarksPanel" |
|
15 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|
16 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
17 onload="init();" |
|
18 onunload="SidebarUtils.setMouseoverURL('');"> |
|
19 |
|
20 <script type="application/javascript" |
|
21 src="chrome://browser/content/bookmarks/sidebarUtils.js"/> |
|
22 <script type="application/javascript" |
|
23 src="chrome://browser/content/bookmarks/bookmarksPanel.js"/> |
|
24 |
|
25 <commandset id="placesCommands"/> |
|
26 <commandset id="editMenuCommands"/> |
|
27 <menupopup id="placesContext"/> |
|
28 |
|
29 <!-- Bookmarks and history tooltip --> |
|
30 <tooltip id="bhTooltip"/> |
|
31 |
|
32 <hbox id="sidebar-search-container" align="center"> |
|
33 <label id="sidebar-search-label" |
|
34 value="&search.label;" accesskey="&search.accesskey;" control="search-box"/> |
|
35 <textbox id="search-box" flex="1" type="search" class="compact" |
|
36 aria-controls="bookmarks-view" |
|
37 oncommand="searchBookmarks(this.value);"/> |
|
38 </hbox> |
|
39 |
|
40 <tree id="bookmarks-view" class="sidebar-placesTree" type="places" |
|
41 flex="1" |
|
42 hidecolumnpicker="true" |
|
43 context="placesContext" |
|
44 onkeypress="SidebarUtils.handleTreeKeyPress(event);" |
|
45 onclick="SidebarUtils.handleTreeClick(this, event, true);" |
|
46 onmousemove="SidebarUtils.handleTreeMouseMove(event);" |
|
47 onmouseout="SidebarUtils.setMouseoverURL('');"> |
|
48 <treecols> |
|
49 <treecol id="title" flex="1" primary="true" hideheader="true"/> |
|
50 </treecols> |
|
51 <treechildren id="bookmarks-view-children" view="bookmarks-view" |
|
52 class="sidebar-placesTreechildren" flex="1" tooltip="bhTooltip"/> |
|
53 </tree> |
|
54 </page> |