source: content/v_identity.xul @ d0fa65

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

rewrite of the interface

  • Property mode set to 100644
File size: 6.6 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 % 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<!--<vbox flex="1" id="addresses-box"> --><!-- this is used as a strorage, elements will be rearranged by v_identity_init -->
54
55<!--<vbox id="virtualIdentityExtension_autoReplyToSelfLabelBox">
56  <spacer flex="1"/>
57  <label id="virtualIdentityExtension_autoReplyToSelfLabel" context="virtualIdentityExtension_vIAutoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" />
58<spacer flex="1"/>-->
59  <!--</vbox>-->
60<!--<hbox id="virtualIdentityExtension_msgIdentityHbox" flex="1">-->
61 
62<!-- 
63              <menulist id="msgIdentity"
64                      editable="true"
65                      disableautoselect="true"
66                      flex="1"
67                      oncommand="LoadIdentity(false);">
68              <menupopup id="msgIdentityPopup"/>
69  -->
70 
71<!--    <menulist id="virtualIdentityExtension_msgIdentityClone" class="identity_clone-menulist" vid="false"
72        label="..." flex="1" oncommand="this.command();">
73        <menupopup id="virtualIdentityExtension_msgIdentityPopupClone"/>
74    </menulist>
75    <checkbox id="virtualIdentityExtension_fccSwitch" label="&vident.composeDialog.fcc_switch.label;"
76        tooltiptext="&vident.composeDialog.fcc_switch.tooltiptext;" hidden="true" doFcc="false"
77        oncommand="virtualIdentityExtension.vIprefs.set('doFcc', this.checked);" />
78   
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.vIprefs.set('storage_store', (this.getAttribute('checked') == 'true'));"/>
86          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveBaseID" label="&vident.vI_Menu.saveBaseID.label;"
87            oncommand="virtualIdentityExtension.vIprefs.set('storage_store_base_id', (this.getAttribute('checked') == 'true'));"/>
88<!--          <menuitem type="checkbox" id="virtualIdentityExtension_statusMenu_storage_saveSMTP" label="&vident.vI_Menu.saveSMTP.label;"
89                  oncommand="virtualIdentityExtension.vIprefs.set('storage_store_SMTP', (this.getAttribute('checked') == 'true'));"/>-->
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/prefDialog/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="virtualIdentityExtension_vIAutoReplyToSelfMenu">
99          <menuitem type="menuitem-iconic" label="&vident.composeDialog.autoReplyToSelf.menuLabel;"
100            oncommand="document.getElementById('virtualIdentityExtension_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="virtualIdentityExtension_Logo"
114              id="virtualIdentityExtension_Logo"
115              insertafter="statusText"
116              align="right"
117              hidden="true">
118        <label id="v_identity_logo_statusbar" class="v_identity_logo v_identity_logo_statusbar" value="&vident.vidLogo.label; " />
119        <observes id="virtualIdentityExtension_msgIdentityClone_observer" element="msgIdentity" attribute="vid" />
120    </statusbarpanel>
121      <statusbarpanel id="virtualIdentityExtension_vIStatusMenu" save="off"
122              class="statusbarpanel-menu-iconic"
123              collapsed="true"
124              insertafter="totalMessageCount"
125              context="virtualIdentityExtension_statusMenu"
126              tooltip="virtualIdentityExtension_statusMenuTooltip"
127              onclick="virtualIdentityExtension.statusmenu.clicked(event.button);"
128              hidden="true">
129            <image />
130            </statusbarpanel>
131</statusbar>
132 
133</overlay>
Note: See TracBrowser for help on using the repository browser.