source: content/v_identity.xul @ ca4823

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

continue to change pref-usage into module (nearly done)

  • Property mode set to 100644
File size: 6.2 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_msgIdentityCloneTools.js" />
41<script type="application/x-javascript" src="chrome://v_identity/content/vI_smartIdentity.js" />
42<script type="application/x-javascript" src="chrome://v_identity/content/vI_statusmenu.js" />
43<script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js"/>
44
45  <stringbundleset id="stringbundleset">
46    <stringbundle id="virtualIdentityExtension_vIdentBundle" src="chrome://v_identity/locale/v_identity.properties" />
47  </stringbundleset>
48
49<vbox id="appcontent" >
50  <textbox id="virtualIdentityExtension_debugBox" />
51</vbox>
52
53<toolbox id="headers-box">
54    <notificationbox id="virtualIdentityExtension_vINotification" position="1" insertbefore="MsgHeadersToolbar" />
55</toolbox>
56
57<vbox flex="1" id="addresses-box"> <!-- this is used as a strorage, elements will be rearranged by v_identity_init -->
58
59<label id="virtualIdentityExtension_autoReplyToSelfLabel" context="virtualIdentityExtension_vIAutoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" />
60   
61<hbox id="virtualIdentityExtension_msgIdentityHbox" flex="1">
62    <menulist id="virtualIdentityExtension_msgIdentityClone" class="identity_clone-menulist" vid="false"
63        label="..." flex="1" oncommand="this.command();">
64        <menupopup id="virtualIdentityExtension_msgIdentityPopupClone"/>
65    </menulist>
66    <checkbox id="virtualIdentityExtension_fccSwitch" label="&vident.composeDialog.fcc_switch.label;"
67        tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" doFcc="false"
68        oncommand="virtualIdentityExtension.vIprefs.set('doFcc', this.checked);" />
69    <popupset id="virtualIdentityExtension_tooltipPopupset" />
70</hbox>
71  </vbox>
72 
73  <popupset>
74      <menupopup id="virtualIdentityExtension_statusMenu">
75          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;"
76            oncommand="virtualIdentityExtension.vIprefs.set('storage_store', (this.getAttribute('checked') == 'true'));"/>
77          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;"
78            oncommand="virtualIdentityExtension.vIprefs.set('storage_store_base_id', (this.getAttribute('checked') == 'true'));"/>
79          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveSMTP" label="&vident.vI_Menu.saveSMTP.label;"
80            oncommand="virtualIdentityExtension.vIprefs.set('storage_store_SMTP', (this.getAttribute('checked') == 'true'));"/>
81          <menuseparator id="virtualIdentityExtension_statusMenu_separator" />
82          <menuitem class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;"
83            oncommand="window.open('chrome://v_identity/content/prefDialog/vI_prefDialog_TB3.xul', '', 'chrome, dialog, alwaysRaised, resizable=yes');" />
84          <menuitem class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;"
85            oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" />
86      </menupopup>
87  </popupset>
88  <popupset>
89      <menupopup id="virtualIdentityExtension_vIAutoReplyToSelfMenu">
90          <menuitem type="menuitem-iconic" label="&vident.composeDialog.autoReplyToSelf.menuLabel;"
91            oncommand="document.getElementById('virtualIdentityExtension_autoReplyToSelfLabel').setAttribute('hidden', 'true');"/>
92        </menupopup>
93  </popupset>
94  <popupset>
95      <tooltip id="virtualIdentityExtension_statusMenuTooltip" orient="vertical" >
96        <label id="virtualIdentityExtension_statusMenuTooltip_Title" value="&vident.vI_Menu.TooltipTitle.label;" />
97        <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine1" />
98        <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine2" />
99        <label id="virtualIdentityExtension_statusMenuTooltip_Change" value="&vident.vI_Menu.TooltipChange.label;" />
100      </tooltip>
101  </popupset>
102
103  <statusbar id="status-bar">
104      <statusbarpanel class="virtualIdentityExtension_Logo"
105              id="virtualIdentityExtension_Logo"
106              insertafter="statusText"
107              align="right">
108        <label value="&vident.vidLogo.label; &vident.version;" />
109        <observes id="virtualIdentityExtension_msgIdentityClone_observer" element="virtualIdentityExtension_msgIdentityClone" attribute="vid" />
110    </statusbarpanel>
111      <statusbarpanel id="virtualIdentityExtension_vIStatusMenu" save="off"
112              class="statusbarpanel-menu-iconic"
113              collapsed="true"
114              insertafter="totalMessageCount"
115              context="virtualIdentityExtension_statusMenu"
116              tooltip="virtualIdentityExtension_statusMenuTooltip"
117              onclick="virtualIdentityExtension.statusmenu.clicked(event.button);" />
118</statusbar>
119 
120</overlay>
Note: See TracBrowser for help on using the repository browser.