source: chrome/content/v_identity/vI_prefDialogOpener.xul @ 4881ea

Last change on this file since 4881ea was 4881ea, checked in by rene <rene@…>, 13 years ago

seamonkey 2.0a1pre now also uses css for FolderPicker?.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1<?xml version="1.0"?>
2<!-- ***** BEGIN LICENSE BLOCK *****
3   - This program is free software; you can redistribute it and/or modify
4   - it under the terms of the GNU General Public License as published by
5   - the Free Software Foundation; either version 2 of the License, or
6   - (at your option) any later version.
7
8   - This program is distributed in the hope that it will be useful,
9   - but WITHOUT ANY WARRANTY; without even the implied warranty of
10   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   - GNU General Public License for more details.
12
13   - You should have received a copy of the GNU General Public License
14   - along with this program; if not, write to the Free Software
15   - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
17   - The Original Code is the Virtual Identity Extension.
18
19   - The Initial Developer of the Original Code is Rene Ejury.
20   - Portions created by the Initial Developer are Copyright (C) 2007
21   - the Initial Developer. All Rights Reserved.
22
23   - Contributor(s):
24   - ***** END LICENSE BLOCK ***** -->
25
26<!--
27    this just loads the xul's for the prefsDialog dynamically related to the TB/SM version
28    mainly because dynamic loading via javascript loadOverlay seems not to work right
29    and the optionsUrl in install.rdf is forced to be xul
30     -->
31
32
33<window id="vI_prefDialogOpener"
34    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
35    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
36        onload="openPrefDialog();window.close();"
37    width="1px"
38    height="1px"
39    hidden="true" >
40   
41    <script type="application/x-javascript" src="chrome://v_identity/content/vI_helper.js" />
42    <script type="application/x-javascript">
43    <![CDATA[
44    function openPrefDialog () {
45        var chromeURL=(vI_helper.olderVersion('SM', '2.0a1pre') || vI_helper.olderVersion('TB', '3.0a1pre'))?'preTB3.xul':'TB3.xul';
46        window.openDialog('chrome://v_identity/content/vI_prefDialog_' + chromeURL, '', 'chrome');
47    };
48    ]]>
49  </script>
50</window>
Note: See TracBrowser for help on using the repository browser.