source: chrome/content/v_identity/v_identity.xul @ 554ed7

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

changed replyToSelf-Layout

  • Property mode set to 100644
File size: 7.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<?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    <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties" />
55  </stringbundleset>
56
57<vbox id="appcontent" >
58    <splitter id="vIDebugBoxSplitter" hidden="true"/>
59    <textbox id="vIDebugBox" hidden="true" multiline="true" readonly="true"
60    DOMAttrModified="if(event.attrName == 'value') this.value = event.newValue; return true;"/>
61</vbox>
62
63<toolbox id="headers-box">
64    <notificationbox id="vINotification" position="1" insertbefore="MsgHeadersToolbar" />
65</toolbox>
66
67<vbox flex="1" id="addresses-box"> <!-- this is used as a strorage, elements will be rearranged by v_identity_init -->
68
69<vbox id="autoReplyToSelfLabelBox">
70  <spacer flex="1" />
71  <label id="autoReplyToSelfLabel" context="vI_autoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" />
72  <spacer flex="1" />
73</vbox>
74
75<hbox id="msgIdentityHbox" flex="1">
76    <menulist id="msgIdentity_clone" class="identity_clone-menulist" vid="false"
77        label="..." flex="1" oncommand="this.command();">
78        <menupopup id="msgIdentityPopup_clone"/>
79    </menulist>
80    <checkbox id="fcc_switch" label="&vident.composeDialog.fcc_switch.label;"
81        tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" doFcc="false"
82        oncommand="if (this.doFcc == this.checked) this.checked = !(this.checked); this.doFcc = this.checked;" />
83    <popupset id="virtualIdentityExtension_tooltipPopupset" />
84</hbox>
85  </vbox>
86 
87  <popupset>
88      <menupopup id="virtualIdentityExtension_statusMenu">
89          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;"
90            oncommand="virtualIdentityExtension.statusmenu.menuConstraint(this);"/>
91          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;"
92            oncommand="virtualIdentityExtension.statusmenu.menuConstraint(virtualIdentityExtension.statusmenu.objStorageSaveMenuItem);"/>
93          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveSMTP" label="&vident.vI_Menu.saveSMTP.label;"
94            oncommand="virtualIdentityExtension.statusmenu.menuConstraint(virtualIdentityExtension.statusmenu.objStorageSaveMenuItem);"/>
95          <menuseparator id="virtualIdentityExtension_statusMenu_separator" />
96          <menuitem class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;"
97            oncommand="window.open('chrome://v_identity/content/vI_prefDialog_TB3.xul', '', 'chrome, dialog, alwaysRaised, resizable=yes');" />
98          <menuitem class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;"
99            oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" />
100      </menupopup>
101  </popupset>
102  <popupset>
103      <menupopup id="vI_autoReplyToSelfMenu">
104          <menuitem type="menuitem-iconic" label="&vident.composeDialog.autoReplyToSelf.menuLabel;"
105            oncommand="document.getElementById('autoReplyToSelfLabel').setAttribute('hidden', 'true');"/>
106        </menupopup>
107  </popupset>
108  <popupset>
109      <tooltip id="virtualIdentityExtension_statusMenuTooltip" orient="vertical" >
110        <label id="virtualIdentityExtension_statusMenuTooltip_Title" value="&vident.vI_Menu.TooltipTitle.label;" />
111        <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine1" />
112        <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine2" />
113        <label id="virtualIdentityExtension_statusMenuTooltip_Change" value="&vident.vI_Menu.TooltipChange.label;" />
114      </tooltip>
115  </popupset>
116
117  <statusbar id="status-bar">
118      <statusbarpanel class="v_identity_logo"
119              id="v_identity_logo"
120              insertafter="statusText"
121              align="right">
122        <label value="&vident.vidLogo.label; &vident.version;" />
123        <observes id="msgIdentity_clone_observer" element="msgIdentity_clone" attribute="vid" />
124    </statusbarpanel>
125      <statusbarpanel id="vI-status-menu" save="off"
126              class="statusbarpanel-menu-iconic"
127              collapsed="true"
128              insertafter="totalMessageCount"
129              context="virtualIdentityExtension_statusMenu"
130              tooltip="virtualIdentityExtension_statusMenuTooltip"
131              onclick="virtualIdentityExtension.statusmenu.clicked(event.button);" />
132</statusbar>
133 
134</overlay>
Note: See TracBrowser for help on using the repository browser.