source: content/bindings/vI_notificationBox.xml @ 2a159e

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

changed version.dtd position

  • Property mode set to 100644
File size: 2.3 KB
Line 
1<?xml version="1.0"?>
2
3<!DOCTYPE bindings [
4<!ENTITY % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd">
5%vIdentDTD;
6]>
7
8<bindings id="vI_notificationBindings"
9          xmlns="http://www.mozilla.org/xbl"
10          xmlns:xbl="http://www.mozilla.org/xbl"
11          xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
12
13<!--  <binding id="vI_notificationbox" extends="chrome://global/content/bindings/notification.xml#notificationbox">
14    <content>
15      <xul:stack xbl:inherits="hidden=notificationshidden">
16        <xul:spacer/>
17        <children includes="vI_notification"/>
18      </xul:stack>
19      <children/>
20    </content>
21  </binding>
22-->
23  <binding id="vI_notification" extends="chrome://global/content/bindings/notification.xml#notification">
24    <content>
25      <xul:hbox class="notification-inner outset" flex="1" xbl:inherits="type" style="background-color: appworkspace; color: windowtext">
26        <xul:hbox anonid="details" align="center" flex="1"
27                  oncommand="this.parentNode.parentNode._doButtonCommand(event);">
28          <xul:image anonid="messageImage" class="messageImage" xbl:inherits="src=image"/>
29     <xul:vbox><xul:spacer flex="1" />
30         <xul:label id="virtualIdentityExtension_vINotificationTitle" hidden="true" align="right" />
31         <xul:label class="v_identity_logo virtualIdentityExtension_vINotificationLogo"
32           value="&vident.vidLogo.label; &vident.version;" align="right" />
33          <xul:spacer flex="1" /></xul:vbox>
34          <xul:textbox id="virtualIdentityExtension_vINotificationTextbox" anonid="messageText" class="plain" height="3"
35           value="" flex="1" multiline="true" readonly="true" 
36           xbl:inherits="value=label"
37           DOMAttrModified="if(event.attrName == 'value') this.value = event.newValue; return true;"
38           onoverflow="virtualIdentityExtension.notificationOverflow(this);" oncontextmenu="" />
39          <children/>
40        </xul:hbox>
41        <xul:toolbarbutton ondblclick="event.stopPropagation();"
42              class="virtualIdentityExtension_vINotificationCloseButton"
43                           xbl:inherits="hidden=hideclose"
44                           oncommand="document.getBindingParent(this).close();"/>
45      </xul:hbox>
46    </content>
47  </binding>
48</bindings>
Note: See TracBrowser for help on using the repository browser.