source: chrome/content/v_identity/v_identity.xul @ 9cedc0

ng_0.9
Last change on this file since 9cedc0 was 9cedc0, checked in by rene <rene@…>, 8 years ago

compatibility for conversation plugin

  • Property mode set to 100644
File size: 6.8 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<script type="application/x-javascript" src="chrome://v_identity/content/vI_overlayNameSpaceWrapper.js" />
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_identityData.js" />
42<script type="application/x-javascript" src="chrome://v_identity/content/vI_account.js" />
43<script type="application/x-javascript" src="chrome://v_identity/content/vI_msgIdentityCloneTools.js" />
44<script type="application/x-javascript" src="chrome://v_identity/content/vI_smartIdentity.js" />
45<script type="application/x-javascript" src="chrome://v_identity/content/vI_statusmenu.js" />
46<script type="application/x-javascript" src="chrome://v_identity/content/vI_notificationBar.js"/>
47<script type="application/x-javascript" src="chrome://v_identity/content/vI_rdfDatasource.js"/>
48<script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js"/>
49<script type="application/x-javascript" src="chrome://v_identity/content/vI_storageExtras.js"/>
50
51  <stringbundleset id="stringbundleset">
52    <stringbundle id="vIdentBundle" src="chrome://v_identity/locale/v_identity.properties" />
53    <stringbundle id="vIStorageExtrasBundle" src="chrome://v_identity/locale/vI_storageExtras.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<label id="autoReplyToSelfLabel" context="vI_autoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" />
69   
70<hbox id="msgIdentityHbox" flex="1">
71    <menulist id="msgIdentity_clone" class="identity_clone-menulist" vid="false"
72        label="..." flex="1" oncommand="this.command();">
73        <menupopup id="msgIdentityPopup_clone"/>
74    </menulist>
75    <checkbox id="fcc_switch" label="&vident.composeDialog.fcc_switch.label;"
76        tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" doFcc="false"
77        oncommand="if (this.doFcc == this.checked) this.checked = !(this.checked); this.doFcc = this.checked;" />
78    <popupset id="virtualIdentityExtension_tooltipPopupset" />
79</hbox>
80  </vbox>
81 
82  <popupset>
83      <menupopup id="virtualIdentityExtension_statusMenu">
84          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;"
85            oncommand="virtualIdentityExtension.statusmenu.menuConstraint(this);"/>
86          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;"
87            oncommand="virtualIdentityExtension.statusmenu.menuConstraint(virtualIdentityExtension.statusmenu.objStorageSaveMenuItem);"/>
88          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveSMTP" label="&vident.vI_Menu.saveSMTP.label;"
89            oncommand="virtualIdentityExtension.statusmenu.menuConstraint(virtualIdentityExtension.statusmenu.objStorageSaveMenuItem);"/>
90          <menuseparator id="virtualIdentityExtension_statusMenu_separator" />
91          <menuitem class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;"
92            oncommand="window.open('chrome://v_identity/content/vI_prefDialog_TB3.xul', '', 'chrome, dialog, alwaysRaised, resizable=yes');" />
93          <menuitem class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;"
94            oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" />
95      </menupopup>
96  </popupset>
97  <popupset>
98      <menupopup id="vI_autoReplyToSelfMenu">
99          <menuitem type="menuitem-iconic" label="&vident.composeDialog.autoReplyToSelf.menuLabel;"
100            oncommand="document.getElementById('autoReplyToSelfLabel').setAttribute('hidden', 'true');"/>
101        </menupopup>
102  </popupset>
103  <popupset>
104      <tooltip id="virtualIdentityExtension_statusMenuTooltip" orient="vertical" >
105        <label id="virtualIdentityExtension_statusMenuTooltip_Title" value="&vident.vI_Menu.TooltipTitle.label;" />
106        <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine1" />
107        <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine2" />
108        <label id="virtualIdentityExtension_statusMenuTooltip_Change" value="&vident.vI_Menu.TooltipChange.label;" />
109      </tooltip>
110  </popupset>
111
112  <statusbar id="status-bar">
113      <statusbarpanel class="v_identity_logo"
114              id="v_identity_logo"
115              insertafter="statusText"
116              align="right">
117        <label value="&vident.vidLogo.label; &vident.version;" />
118        <observes id="msgIdentity_clone_observer" element="msgIdentity_clone" attribute="vid" />
119    </statusbarpanel>
120      <statusbarpanel id="vI-status-menu" save="off"
121              class="statusbarpanel-menu-iconic"
122              collapsed="true"
123              insertafter="totalMessageCount"
124              context="virtualIdentityExtension_statusMenu"
125              tooltip="virtualIdentityExtension_statusMenuTooltip"
126              onclick="virtualIdentityExtension.statusmenu.clicked(event.button);" />
127</statusbar>
128 
129</overlay>
Note: See TracBrowser for help on using the repository browser.