2005-11-10 23:31:08 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2005-11-23 02:37:06 +00:00
|
|
|
<?xml-stylesheet href="chrome://browser/content/places/places.css"?>
|
|
|
|
|
2005-11-10 23:31:08 +00:00
|
|
|
<?xml-stylesheet href="chrome://global/skin/"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
|
|
|
|
|
2005-11-14 22:22:28 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://browser/locale/places/places.dtd">
|
|
|
|
|
2005-11-10 23:31:08 +00:00
|
|
|
<window id="places"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2005-11-16 01:07:18 +00:00
|
|
|
onload="PlacesPage.init();" onunload="PlacesPage.uninit();">
|
2005-11-10 23:31:08 +00:00
|
|
|
|
2005-11-14 22:22:28 +00:00
|
|
|
<script type="application/x-javascript"
|
|
|
|
src="chrome://browser/content/places/controller.js"/>
|
2005-11-10 23:31:08 +00:00
|
|
|
<script type="application/x-javascript"
|
|
|
|
src="chrome://browser/content/places/places.js"/>
|
2005-11-24 00:19:31 +00:00
|
|
|
<!-- ew. -->
|
|
|
|
<script type="application/x-javascript"
|
|
|
|
src="chrome://global/content/nsDragAndDrop.js"/>
|
2005-11-10 23:31:08 +00:00
|
|
|
|
2005-11-23 23:03:10 +00:00
|
|
|
<stringbundleset id="stringbundles">
|
|
|
|
<stringbundle id="placeBundle" src="chrome://browser/locale/places/places.properties"/>
|
|
|
|
<stringbundle id="brandBundle" src="chrome://branding/locale/brand.properties"/>
|
|
|
|
</stringbundleset>
|
2005-11-27 21:25:13 +00:00
|
|
|
|
|
|
|
#include commands.inc
|
|
|
|
|
2005-11-14 22:22:28 +00:00
|
|
|
<keyset id="placesKeyset">
|
|
|
|
<key id="placesKey_find" command="placesCmd_find" key="f" modifiers="accel"/>
|
|
|
|
<key id="placesKey_select:all" command="placesCmd_select:all" key="&cmd.select_all.key;" modifiers="accel"/>
|
|
|
|
<key id="placesKey_edit:cut" command="placesCmd_edit:cut" key="&cmd.edit_cut.key;" modifiers="accel"/>
|
|
|
|
<key id="placesKey_edit:copy" command="placesCmd_edit:copy" key="&cmd.edit_copy.key;" modifiers="accel"/>
|
|
|
|
<key id="placesKey_edit:paste" command="placesCmd_edit:paste" key="&cmd.edit_paste.key;" modifiers="accel"/>
|
|
|
|
<key id="placesKey_edit:delete" command="placesCmd_edit:delete" keycode="VK_DELETE"/>
|
2005-11-23 23:03:10 +00:00
|
|
|
<key id="placesKey_open" command="placesCmd_open" keycode="VK_ENTER"/>
|
2005-11-14 22:22:28 +00:00
|
|
|
<key id="placesKey_open:window" command="placesCmd_open:window" keycode="VK_ENTER" modifiers="shift"/>
|
|
|
|
<key id="placesKey_open:tab" oncommand="placesCmd_open:tab" keycode="VK_ENTER" modifiers="accel"/>
|
|
|
|
<key id="placesKey_show:info" oncommand="placesCmd_show:info" key="&cmd.show_info.key;" modifiers="accel"/>
|
|
|
|
<key id="placesKey_rename" oncommand="placesCmd_rename" keycode="VK_F2"/>
|
|
|
|
<key id="placesKey_reload" oncommand="placesCmd_reload" key="&cmd.reload.key;" modifiers="accel"/>
|
|
|
|
</keyset>
|
|
|
|
|
|
|
|
<popupset id="placesPopupset">
|
2005-11-27 21:25:13 +00:00
|
|
|
#include context.inc
|
2005-11-14 22:22:28 +00:00
|
|
|
</popupset>
|
|
|
|
|
2005-11-10 23:31:08 +00:00
|
|
|
<hbox flex="1" id="placesView">
|
2005-11-23 02:37:06 +00:00
|
|
|
<vbox>
|
2005-11-17 22:00:52 +00:00
|
|
|
<tree id="placesList" class="placesTree" flex="1"
|
2005-11-19 00:09:08 +00:00
|
|
|
hidecolumnpicker="true" context="placesContext"
|
2005-11-23 23:03:10 +00:00
|
|
|
onselect="PlacesPage.placeSelected(event);"
|
2005-11-27 04:26:18 +00:00
|
|
|
singleclick="true" seltype="single">
|
2005-11-10 23:31:08 +00:00
|
|
|
<treecols>
|
2005-11-17 22:00:52 +00:00
|
|
|
<treecol id="title" flex="1" primary="true" hideheader="true"/>
|
2005-11-10 23:31:08 +00:00
|
|
|
</treecols>
|
2005-11-23 23:03:10 +00:00
|
|
|
<treechildren id="placesListChildren" view="placesList" flex="1"/>
|
2005-11-10 23:31:08 +00:00
|
|
|
</tree>
|
2005-11-23 02:37:06 +00:00
|
|
|
<vbox id="historyCalendar"
|
|
|
|
onselectionchanged="LOG('FIXME: do history query');"/>
|
2005-11-17 20:28:43 +00:00
|
|
|
<hbox class="commands">
|
2005-11-23 23:03:10 +00:00
|
|
|
<button id="newPlace" view="placesList" command="placesCmd_new:folder"/>
|
2005-11-10 23:31:08 +00:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<splitter id="splitter"/>
|
|
|
|
<vbox flex="4">
|
|
|
|
<hbox align="center">
|
2005-11-17 20:28:43 +00:00
|
|
|
<label accesskey="&search.accesskey;" control="search">&search.label;</label>
|
|
|
|
<textbox id="searchFilter" flex="3" style="width: 0px;" timeout="500"
|
|
|
|
oncommand="PlacesPage.applyFilter(this.value);"
|
|
|
|
collection="all" persist="collection">
|
2005-11-27 04:26:18 +00:00
|
|
|
<deck id="filterCollectionDeck">
|
|
|
|
<button type="menu" class="filterList" id="filterList_history">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&search.history.label;" accesskey="&search.history.accesskey;"
|
|
|
|
type="radio" name="collection" value="history"
|
|
|
|
checked="true" default="true"/>
|
|
|
|
<menuitem label="&search.all.label;" accesskey="&search.all.accesskey;"
|
|
|
|
type="radio" name="collection" value="all"/>
|
|
|
|
</menupopup>
|
|
|
|
</button>
|
|
|
|
<button type="menu" class="filterList" id="filterList_bookmark">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&search.collection.label;" accesskey="&search.collection.accesskey;"
|
|
|
|
type="radio" name="collection" value="collection"/>
|
|
|
|
<menuitem label="&search.bookmarks.label;" accesskey="&search.bookmarks.accesskey;"
|
|
|
|
type="radio" name="collection" value="bookmarks"
|
|
|
|
checked="true" default="true"/>
|
|
|
|
<menuitem label="&search.all.label;" accesskey="&search.all.accesskey;"
|
|
|
|
type="radio" name="collection" value="all"/>
|
|
|
|
</menupopup>
|
|
|
|
</button>
|
|
|
|
</deck>
|
2005-11-17 20:28:43 +00:00
|
|
|
</textbox>
|
|
|
|
<button id="showAdvancedSearch"
|
|
|
|
label="&advancedSearch.label;" accesskey="&advancedSearch.accesskey;"
|
|
|
|
oncommand="PlacesPage.showAdvancedOptions();"/>
|
|
|
|
<spacer flex="2"/>
|
2005-11-10 23:31:08 +00:00
|
|
|
</hbox>
|
|
|
|
<deck id="content" flex="1">
|
2005-11-16 01:07:18 +00:00
|
|
|
<vbox flex="1">
|
2005-11-17 21:54:46 +00:00
|
|
|
<tree id="placeContent" class="placesTree" context="placesContext" flex="1"
|
2005-11-23 02:22:17 +00:00
|
|
|
ondblclick="PlacesController.mouseLoadURI(event);"
|
|
|
|
onplacestreereloaded="PlacesPage.onContentChanged();">
|
2005-11-16 01:07:18 +00:00
|
|
|
<treecols>
|
2005-11-16 21:51:17 +00:00
|
|
|
<treecol label="&col.title.label;" id="title" flex="1" primary="true"/>
|
|
|
|
<treecol label="&col.url.label;" id="url" flex="1"/>
|
2005-11-16 01:07:18 +00:00
|
|
|
</treecols>
|
2005-11-23 23:03:10 +00:00
|
|
|
<treechildren id="placeContentChildren" view="placeContent" flex="1"/>
|
2005-11-16 01:07:18 +00:00
|
|
|
</tree>
|
2005-11-17 20:28:43 +00:00
|
|
|
<hbox>
|
2005-11-27 04:26:18 +00:00
|
|
|
<deck id="commandBar" flex="1">
|
2005-11-17 20:28:43 +00:00
|
|
|
<hbox class="commands" id="commands_bookmark" flex="1">
|
2005-11-23 23:03:10 +00:00
|
|
|
<button id="newFolder" view="placeContent" command="placesCmd_new:folder"/>
|
2005-11-17 20:28:43 +00:00
|
|
|
<spacer flex="1"/>
|
|
|
|
<button id="saveSearch_bookmark" command="placesCmd_saveSearch" hidden="true"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox class="commands" id="commands_history" flex="1">
|
2005-11-23 23:03:10 +00:00
|
|
|
<button id="groupBy_site" class="commandGroupButton first"
|
|
|
|
view="placeContent" command="placesCmd_groupby:site"/>
|
|
|
|
<spacer class="groupSpacer"/>
|
|
|
|
<button id="groupBy_page" class="commandGroupButton last"
|
|
|
|
view="placeContent" command="placesCmd_groupby:page"/>
|
2005-11-17 20:28:43 +00:00
|
|
|
<spacer flex="1"/>
|
|
|
|
<button id="saveSearch_history" command="placesCmd_saveSearch" hidden="true"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox class="commands" id="commands_feed" flex="1">
|
|
|
|
<button id="subscribe" command="placesCmd_new:folder"/>
|
|
|
|
<separator/>
|
2005-11-23 23:03:10 +00:00
|
|
|
<button id="groupOption0" class="commandGroupButton first"
|
|
|
|
view="placeContent" command="placesCmd_groupby:site"/>
|
|
|
|
<spacer class="groupSpacer"/>
|
|
|
|
<button id="groupOption1" class="commandGroupButton last"
|
|
|
|
view="placeContent" command="placesCmd_groupby:page"/>
|
2005-11-17 20:28:43 +00:00
|
|
|
<spacer flex="1"/>
|
|
|
|
<button id="saveSearch_feed" command="placesCmd_saveSearch" hidden="true"/>
|
|
|
|
</hbox>
|
|
|
|
</deck>
|
|
|
|
<resizer dir="bottomright"/>
|
|
|
|
</hbox>
|
2005-11-16 01:07:18 +00:00
|
|
|
</vbox>
|
2005-11-10 23:31:08 +00:00
|
|
|
</deck>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
</window>
|
|
|
|
|