2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: xml; indent-tabs-mode: nil; -*- -->
|
|
|
|
|
2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://browser/content/places/places.css"?>
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
|
|
|
|
|
|
|
|
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
|
|
|
|
|
|
|
|
<!DOCTYPE page [
|
|
|
|
<!ENTITY % placesDTD SYSTEM "chrome://browser/locale/places/places.dtd">
|
|
|
|
%placesDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<!-- we need to keep id="history-panel" for upgrade and switching
|
|
|
|
between versions of the browser -->
|
|
|
|
|
|
|
|
<page id="history-panel" orient="vertical"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2008-02-20 17:41:00 -08:00
|
|
|
onload="HistorySidebarInit();"
|
2010-09-15 23:09:27 -07:00
|
|
|
onunload="SidebarUtils.setMouseoverURL('');">
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-11-05 05:53:26 -08:00
|
|
|
<script type="application/javascript"
|
2007-03-22 10:30:00 -07:00
|
|
|
src="chrome://browser/content/bookmarks/sidebarUtils.js"/>
|
2009-11-05 05:53:26 -08:00
|
|
|
<script type="application/javascript"
|
2007-03-22 10:30:00 -07:00
|
|
|
src="chrome://browser/content/places/history-panel.js"/>
|
|
|
|
|
|
|
|
<commandset id="editMenuCommands"/>
|
|
|
|
<commandset id="placesCommands"/>
|
|
|
|
|
|
|
|
<keyset id="editMenuKeys">
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
<key id="key_delete2" keycode="VK_BACK" command="cmd_delete"/>
|
|
|
|
#endif
|
|
|
|
</keyset>
|
|
|
|
|
2009-05-11 02:06:06 -07:00
|
|
|
<!-- required to overlay the context menu -->
|
2010-06-21 23:34:21 -07:00
|
|
|
<menupopup id="placesContext"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-09-04 16:36:07 -07:00
|
|
|
<!-- Bookmarks and history tooltip -->
|
|
|
|
<tooltip id="bhTooltip"/>
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
<hbox id="sidebar-search-container" align="center">
|
|
|
|
<label id="sidebar-search-label"
|
|
|
|
value="&find.label;" accesskey="&find.accesskey;"
|
2007-03-22 10:30:00 -07:00
|
|
|
control="search-box"/>
|
2009-04-13 10:40:00 -07:00
|
|
|
<textbox id="search-box" flex="1" type="search" class="compact"
|
2009-02-02 01:38:53 -08:00
|
|
|
aria-controls="historyTree"
|
2007-03-22 10:30:00 -07:00
|
|
|
oncommand="searchHistory(this.value);"/>
|
|
|
|
<button id="viewButton" style="min-width:0px !important;" type="menu"
|
|
|
|
label="&view.label;" accesskey="&view.accesskey;" selectedsort="day"
|
|
|
|
persist="selectedsort">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem id="bydayandsite" label="&byDayAndSite.label;"
|
|
|
|
accesskey="&byDayAndSite.accesskey;" type="radio"
|
|
|
|
oncommand="this.parentNode.parentNode.setAttribute('selectedsort', 'dayandsite'); GroupBy('dayandsite');"/>
|
|
|
|
<menuitem id="bysite" label="&bySite.label;"
|
|
|
|
accesskey="&bySite.accesskey;" type="radio"
|
|
|
|
oncommand="this.parentNode.parentNode.setAttribute('selectedsort', 'site'); GroupBy('site');"/>
|
|
|
|
<menuitem id="byday" label="&byDate.label;"
|
|
|
|
accesskey="&byDate.accesskey;"
|
|
|
|
type="radio"
|
|
|
|
oncommand="this.parentNode.parentNode.setAttribute('selectedsort', 'day'); GroupBy('day');"/>
|
|
|
|
<menuitem id="byvisited" label="&byMostVisited.label;"
|
|
|
|
accesskey="&byMostVisited.accesskey;"
|
|
|
|
type="radio"
|
|
|
|
oncommand="this.parentNode.parentNode.setAttribute('selectedsort', 'visited'); GroupBy('visited');"/>
|
|
|
|
<menuitem id="bylastvisited" label="&byLastVisited.label;"
|
|
|
|
accesskey="&byLastVisited.accesskey;"
|
|
|
|
type="radio"
|
|
|
|
oncommand="this.parentNode.parentNode.setAttribute('selectedsort', 'lastvisited'); GroupBy('lastvisited');"/>
|
|
|
|
</menupopup>
|
|
|
|
</button>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<tree id="historyTree"
|
2007-10-24 02:35:18 -07:00
|
|
|
class="sidebar-placesTree"
|
2007-03-22 10:30:00 -07:00
|
|
|
flex="1"
|
|
|
|
type="places"
|
|
|
|
context="placesContext"
|
|
|
|
hidecolumnpicker="true"
|
2008-02-26 02:37:59 -08:00
|
|
|
onkeypress="SidebarUtils.handleTreeKeyPress(event);"
|
2008-03-14 13:17:14 -07:00
|
|
|
onclick="SidebarUtils.handleTreeClick(this, event, true);"
|
2008-02-20 17:41:00 -08:00
|
|
|
onmousemove="SidebarUtils.handleTreeMouseMove(event);"
|
2010-09-15 23:09:27 -07:00
|
|
|
onmouseout="SidebarUtils.setMouseoverURL('');">
|
2007-03-22 10:30:00 -07:00
|
|
|
<treecols>
|
|
|
|
<treecol id="title" flex="1" primary="true" hideheader="true"/>
|
|
|
|
</treecols>
|
2009-09-04 16:36:07 -07:00
|
|
|
<treechildren class="sidebar-placesTreechildren" flex="1" tooltip="bhTooltip"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</tree>
|
|
|
|
</page>
|