home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / toolkit.jar / content / mozapps / handling / dialog.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-11-13  |  3.3 KB  |  80 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css"?>
  3. <?xml-stylesheet href="chrome://mozapps/content/handling/handler.css"?>
  4. <?xml-stylesheet href="chrome://mozapps/skin/handling/handling.css"?>
  5. <!-- ***** BEGIN LICENSE BLOCK *****
  6.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  7.    -
  8.    - The contents of this file are subject to the Mozilla Public License Version
  9.    - 1.1 (the "License"); you may not use this file except in compliance with
  10.    - the License. You may obtain a copy of the License at
  11.    - http://www.mozilla.org/MPL/
  12.    -
  13.    - Software distributed under the License is distributed on an "AS IS" basis,
  14.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  15.    - for the specific language governing rights and limitations under the
  16.    - License.
  17.    -
  18.    - The Original Code is the Protocol Handler Dialog.
  19.    -
  20.    - The Initial Developer of the Original Code is
  21.    -   Mozilla Corporation.
  22.    - Portions created by the Initial Developer are Copyright (C) 2007
  23.    - the Initial Developer. All Rights Reserved.
  24.    -
  25.    - Contributor(s):
  26.    -   Shawn Wilsher <me@shawnwilsher.com> (Original Author)
  27.    -
  28.    - Alternatively, the contents of this file may be used under the terms of
  29.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  30.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  31.    - in which case the provisions of the GPL or the LGPL are applicable instead
  32.    - of those above. If you wish to allow use of your version of this file only
  33.    - under the terms of either the GPL or the LGPL, and not to allow others to
  34.    - use your version of this file under the terms of the MPL, indicate your
  35.    - decision by deleting the provisions above and replace them with the notice
  36.    - and other provisions required by the LGPL or the GPL. If you do not delete
  37.    - the provisions above, a recipient may use your version of this file under
  38.    - the terms of any one of the MPL, the GPL or the LGPL.
  39.    -
  40.    - ***** END LICENSE BLOCK ***** -->
  41.  
  42. <!DOCTYPE dialog SYSTEM "chrome://mozapps/locale/handling/handling.dtd">
  43.  
  44. <dialog id="handling"
  45.         ondialogaccept="return dialog.onAccept();"
  46.         onload="dialog.initialize();"
  47.         style="min-width: &window.emWidth;; min-height: &window.emHeight;;"
  48.         persist="width height screenX screenY"
  49.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  50.  
  51.   <script src="chrome://mozapps/content/handling/dialog.js" type="application/javascript"/>
  52.  
  53.   <stringbundleset id="strings">
  54.     <stringbundle id="base-strings"
  55.                   src="chrome://mozapps/locale/handling/handling.properties"/>
  56.   </stringbundleset>
  57.  
  58.   <hbox>
  59.     <image id="description-image"/>
  60.     <description id="description-text"/>
  61.   </hbox>
  62.  
  63.   <vbox flex="1">
  64.     <description id="item-action-text"/>
  65.     <richlistbox id="items" flex="1"
  66.                  ondblclick="dialog.onDblClick();"
  67.                  onselect="dialog.updateOKButton();">
  68.       <richlistitem id="item-choose" orient="horizontal" selected="true">
  69.         <label value="&ChooseApp.description;" flex="1"/>
  70.         <button oncommand="dialog.chooseApplication();"
  71.                 label="&ChooseApp.label;" accesskey="&ChooseApp.accessKey;"/>
  72.       </richlistitem>
  73.     </richlistbox>
  74.   </vbox>
  75.  
  76.   <checkbox id="remember" oncommand="dialog.onCheck();"/>
  77.   <description id="remember-text"/>
  78.  
  79. </dialog>
  80.