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) 2011 |
---|
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 % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd"> |
---|
31 | %vIdentDTD; |
---|
32 | ]> |
---|
33 | |
---|
34 | <overlay id="virtualIdentityExtension_MsgComposeOverlay" |
---|
35 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
---|
36 | |
---|
37 | <!-- possible fix for https://www.absorb.it/virtual-id/ticket/400 , not sure why widgetOverlay is not always accessible --> |
---|
38 | <script type="application/javascript" src="chrome://messenger/content/messengercompose/addressingWidgetOverlay.js"/> |
---|
39 | |
---|
40 | <script type="application/x-javascript" src="chrome://v_identity/content/v_identity.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 | <vbox id="appcontent" > |
---|
46 | <textbox id="virtualIdentityExtension_debugBox" /> |
---|
47 | </vbox> |
---|
48 | |
---|
49 | <toolbox id="headers-box"> |
---|
50 | <notificationbox id="virtualIdentityExtension_vINotification" position="1" insertbefore="MsgHeadersToolbar" /> |
---|
51 | </toolbox> |
---|
52 | |
---|
53 | <popupset> |
---|
54 | <menupopup id="virtualIdentityExtension_statusMenu"> |
---|
55 | <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_save" label="&vident.vI_Menu.storageSave.label;" |
---|
56 | oncommand="virtualIdentityExtension.vIprefs.set('storage_store', (this.getAttribute('checked') == 'true'));"/> |
---|
57 | <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;" |
---|
58 | oncommand="virtualIdentityExtension.vIprefs.set('storage_store_base_id', (this.getAttribute('checked') == 'true'));"/> |
---|
59 | <menuseparator id="virtualIdentityExtension_statusMenu_separator" /> |
---|
60 | <menuitem class="menuitem-iconic" label="&vident.vI_Menu.Settings.label;" |
---|
61 | oncommand="window.open('chrome://v_identity/content/prefDialog/vI_prefDialog.xul', '', 'chrome, dialog, alwaysRaised, resizable=yes');" /> |
---|
62 | <menuitem class="menuitem-iconic" label="&vident.vI_Menu.DataEditor.label;" |
---|
63 | oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" /> |
---|
64 | </menupopup> |
---|
65 | </popupset> |
---|
66 | <popupset> |
---|
67 | <tooltip id="virtualIdentityExtension_statusMenuTooltip" orient="vertical" > |
---|
68 | <label id="virtualIdentityExtension_statusMenuTooltip_Title" value="&vident.vI_Menu.TooltipTitle.label;" /> |
---|
69 | <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine1" /> |
---|
70 | <label id="virtualIdentityExtension_statusMenuTooltip_StatusValueLine2" /> |
---|
71 | <label id="virtualIdentityExtension_statusMenuTooltip_Change" value="&vident.vI_Menu.TooltipChange.label;" /> |
---|
72 | </tooltip> |
---|
73 | </popupset> |
---|
74 | |
---|
75 | <statusbar id="status-bar"> |
---|
76 | <statusbarpanel class="virtualIdentityExtension_Logo" |
---|
77 | id="virtualIdentityExtension_Logo" |
---|
78 | align="right" |
---|
79 | hidden="true"> |
---|
80 | <label id="v_identity_logo_statusbar" class="v_identity_logo v_identity_logo_statusbar" value="&vident.vidLogo.label; " /> |
---|
81 | <observes element="msgIdentity" attribute="vid" /> |
---|
82 | </statusbarpanel> |
---|
83 | <statusbarpanel id="virtualIdentityExtension_vIStatusMenu" save="off" |
---|
84 | class="statusbarpanel-menu-iconic" |
---|
85 | collapsed="true" |
---|
86 | context="virtualIdentityExtension_statusMenu" |
---|
87 | tooltip="virtualIdentityExtension_statusMenuTooltip" |
---|
88 | onclick="virtualIdentityExtension.statusmenu.clicked(event.button);" |
---|
89 | hidden="true"> |
---|
90 | <image /> |
---|
91 | </statusbarpanel> |
---|
92 | </statusbar> |
---|
93 | |
---|
94 | </overlay> |
---|