source: chrome/content/v_identity/v_identity.xul @ b5331b

Last change on this file since b5331b was b5331b, checked in by rene <rene@…>, 12 years ago

changed style and copyd icon to local to have a close button in seamonkey

  • Property mode set to 100644
File size: 5.7 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<?xml-stylesheet href="chrome://v_identity/skin/v_identity.css" type="text/css"?>
27<?xml-stylesheet href="chrome://messenger/skin/tabmail.css" type="text/css"?>
28
29<!DOCTYPE overlay [
30<!ENTITY % versionDTD SYSTEM "chrome://v_identity/content/_version.dtd">
31%versionDTD;
32<!ENTITY % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd">
33%vIdentDTD;
34]>
35
36  <overlay id="v_identity"
37          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
38
39<script type="application/x-javascript" src="chrome://v_identity/content/v_identity.js" />
40<script type="application/x-javascript" src="chrome://v_identity/content/vI_helper.js" />
41<script type="application/x-javascript" src="chrome://v_identity/content/vI_account.js" />
42<script type="application/x-javascript" src="chrome://v_identity/content/vI_msgIdentityClone.js" />
43<script type="application/x-javascript" src="chrome://v_identity/content/vI_smartIdentity.js" />
44<script type="application/x-javascript" src="chrome://v_identity/content/vI_smtpSelector.js" />
45<script type="application/x-javascript" src="chrome://v_identity/content/vI_notificationBar.js"/>
46<script type="application/x-javascript" src="chrome://v_identity/content/vI_rdfDatasource.js"/>
47<script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js"/>
48<script type="application/x-javascript" src="chrome://v_identity/content/vI_storageExtras.js"/>
49
50  <stringbundleset id="stringbundleset">
51    <stringbundle id="vIdentBundle" src="chrome://v_identity/locale/v_identity.properties" />
52    <stringbundle id="vIStorageExtrasBundle" src="chrome://v_identity/locale/vI_storageExtras.properties" />
53    <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties" />
54  </stringbundleset>
55
56<vbox id="appcontent" >
57    <splitter id="vIDebugBoxSplitter" hidden="true"/>
58    <textbox id="vIDebugBox" hidden="true" multiline="true" readonly="true"
59    DOMAttrModified="if(event.attrName == 'value') this.value = event.newValue; return true;"/>
60</vbox>
61
62<toolbox id="headers-box">
63    <notificationbox id="vINotification" position="1" insertbefore="MsgHeadersToolbar" />
64</toolbox>
65
66<vbox flex="1" id="addresses-box"> <!-- this is used as a strorage, elements will be rearranged by v_identity_init -->
67
68<hbox id="msgIdentityHbox" flex="1">
69    <menulist id="msgIdentity_clone" class="identity_clone-menulist person-icon"
70        label="..." flex="1" oncommand="vI_msgIdentityClone.LoadIdentity();" hidden="true">
71        <menupopup id="msgIdentityPopup_clone"/>
72    </menulist>
73    <hbox id="smtpServerListHbox" hidden="true">
74    <spacer flex="1" />
75    <menulist id="smtp_server_list" oncommand="vI_smtpSelector.loadSMTP();">
76       <menupopup id="smtp_server_list_popup" />
77    </menulist>
78    </hbox>
79    <checkbox id="storage_save" label="&vident.composeDialog.storageSave.label;"
80          tooltiptext="&vident.composeDialog.storageSave.tooltiptext;" hidden="true"
81          oncommand="vI_statusmenu.menuConstraint(this);" >
82        <observes element="vI_statusMenu_storage_save" attribute="checked" />
83    </checkbox>
84    <box class="base_id_label" observe="msgIdentity_clone" />
85</hbox>
86   
87  <!-- Some of "Dynamic part of labels" are placed here.-->
88  <!-- (Well, I know that its not a good ideal to put them here. :P) -->
89  <data id="prettyName-Prefix" label="&vident.accPane.prettyName.prefix;" />
90 
91  </vbox>
92 
93  <popupset>
94      <popup id="vI_statusMenu">
95          <menuitem type="checkbox" id="vI_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;" oncommand="vI_statusmenu.menuConstraint(this);"/>
96          <menuitem type="checkbox" id="vI_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;" oncommand="vI_statusmenu.menuConstraint(vI_statusmenu.objStorageSaveMenuItem);"/>
97          <menuseparator id="vI_statusMenu_separator" />       
98          <menuitem id="vI_settingsMenu" class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;"
99                oncommand="window.openDialog('chrome://v_identity/content/vI_prefDialog.xul', '', 'chrome,modal');" />
100          <menuitem id="vI_rdfDataTree" class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;"
101                oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome,modal');" />
102      </popup>
103  </popupset>
104   
105  <statusbar id="status-bar">
106      <statusbarpanel class="v_identity_logo"
107              id="v_identity_logo"
108              insertafter="statusText"
109              label="&vident.vidLogo.label; &vident.version;" align="right" hidden="true" />
110      <statusbarpanel id="vI-status-menu" save="off"
111              class="statusbarpanel-menu-iconic"
112              collapsed="true"
113              insertafter="totalMessageCount"
114              context="vI_statusMenu"
115              tooltip="vI_statusMenuTooltip"
116              onclick="vI_statusmenu.clicked(event.button);" />
117</statusbar>
118 
119</overlay>
Note: See TracBrowser for help on using the repository browser.