source: content/v_identity.xul @ e55f92

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

sometimes widgetoverlay is not accessible, possible fix?

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