browser/components/places/content/moveBookmarks.xul
author Wan-Teh Chang <wtc@google.com>
Fri, 01 May 2009 06:59:46 -0700
changeset 27929 85e6ca56e8598c3a41d2fb9bbdf4317bee25565c
parent 8193 6e48e657541702c277a1e3b4f694c2f2ae4a35ce
child 34595 10b00c931e7c21629b73f627ec80c692633b6d8f
permissions -rw-r--r--
Bug 489231: Update NSPR to the NSPR_HEAD_20090501 CVS tag.

<?xml version="1.0"?>

# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Places Organizer.
#
# The Initial Developer of the Original Code is Google Inc.
# Portions created by the Initial Developer are Copyright (C) 2005-2006
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#   Asaf Romano <mano@mozilla.com>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****

<?xml-stylesheet href="chrome://global/skin/"?>
<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
<?xml-stylesheet href="chrome://browser/content/places/places.css"?>

<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>

<!DOCTYPE window [
  <!ENTITY % moveBookmarksDTD SYSTEM "chrome://browser/locale/places/moveBookmarks.dtd">
  %moveBookmarksDTD;
]>

<dialog id="moveBookmarkDialog"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        ondialogaccept="return gMoveBookmarksDialog.onOK(event);"
        title="&window.title;"
        onload="gMoveBookmarksDialog.init();"
        style="&window.style;"
        screenX="24"
        screenY="24"
        persist="screenX screenY width height">

  <script type="application/x-javascript"
          src="chrome://browser/content/places/moveBookmarks.js"/>

  <hbox flex="1">
    <label id="movetolabel" value="&moveTo.label;" control="foldersTree"/>
    <hbox flex="1">
      <tree id="foldersTree"
            class="placesTree"
            flex="1"
            type="places"
            seltype="single"
            hidecolumnpicker="true">
        <treecols>
          <treecol id="title" flex="1" primary="true" hideheader="true"/>
        </treecols>
        <treechildren id="placesListChildren" view="placesList" flex="1"/>
      </tree>
      <vbox>
        <button id="newFolderButton"
                label="&newFolderButton.label;"
                accesskey="&newFolderButton.accesskey;"
                oncommand="gMoveBookmarksDialog.newFolder();"/>
      </vbox>
    </hbox>
  </hbox>
</dialog>