source: chrome/content/v_identity/v_identity.xml @ dc51fc

Last change on this file since dc51fc was dc51fc, checked in by rene <rene@…>, 12 years ago

show base_id_key if debug-mode is active

  • Property mode set to 100644
File size: 3.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<bindings id="mailComposeBindings"
27          xmlns="http://www.mozilla.org/xbl"
28          xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
29          xmlns:xbl="http://www.mozilla.org/xbl">
30
31<binding id="fromPopupItem_clone" extends="chrome://global/content/bindings/menu.xml#menuitem">
32  <content autostretch="never" excludes="template,observes,menupopup">
33      <xul:image class="menupopup_clone-icon" xbl:inherits="src"/>
34      <xul:label class="menupopup_clone-text" xbl:inherits="value=label,accesskey,crop"
35               crop="right" flex="1"/>
36      <xul:label id="msgIdentityPopupItem_label" class="menu-description composemenu-text-2" xbl:inherits="value=accountname"
37               crop="right"/>
38  </content>
39</binding>
40
41
42<binding id="fromMenuList_clone" display="xul:menu" extends="chrome://global/content/bindings/menulist.xml#menulist-description">
43  <resources>
44      <stylesheet src="chrome://global/skin/menu.css"/>
45  </resources>
46  <content sizetopopup="pref">
47    <xul:hbox flex="1">
48      <xul:vbox><xul:spacer flex="1" />
49      <xul:image class="menulist_clone-icon" id="msgIdentity_clone_image"
50      xbl:inherits="src"/>
51      <xul:spacer flex="1" /></xul:vbox>
52      <xul:vbox flex="1"><xul:spacer flex="1" />
53      <xul:textbox id="msgIdentity_clone_textbox" class="plain menulist_clone-textbox" xbl:inherits="value=label,crop,accesskey"
54      allowevents="true" oninput="vI_msgIdentityClone.inputEvent()"
55      onblur="vI_msgIdentityClone.blurEvent()"
56      crop="right" />
57      <xul:spacer flex="1" /></xul:vbox>
58      <xul:vbox><xul:spacer flex="1" />
59      <xul:label id="msgIdentity_clone_label" class="menu-description composemenu-text-2" xbl:inherits="value=accountname" crop="right"/>
60      <xul:spacer flex="1" /></xul:vbox>
61    <xul:vbox><xul:spacer flex="1" />
62    <xul:label id="msgIdentity_base_id_label" class="menu-description composemenu-text-2" xbl:inherits="value=base_id_key,hidden=base_id_key_hidden" crop="right" hidden="true"/>
63    <xul:spacer flex="1" /></xul:vbox>
64    </xul:hbox>
65    <!-- <xul:dropmarker class="menulist-dropmarker" type="menu"/> -->
66    <children includes="menupopup"/>
67  </content>
68</binding>
69
70</bindings>
Note: See TracBrowser for help on using the repository browser.