This is just some static backup of the original site, don't expect every link to work!

source: content/bindings/vI_notificationBox.xml

ng_0.9 0.10.3
Last change on this file was 8518b6, checked in by rene <rene@…>, 4 years ago

don't store identity-version in *.dtd anymore

  • Property mode set to 100644
File size: 2.6 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" flex="1" xbl:inherits="type">
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 id="virtualIdentityExtension_vINotificationLogo" class="v_identity_logo virtualIdentityExtension_vINotificationLogo"
32           value="&vident.vidLogo.label; " 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    <implementation>
48    <constructor>
49      <![CDATA[
50      let statusbarLabel = document.getElementById("virtualIdentityExtension_vINotificationLogo");
51      statusbarLabel.setAttribute("value", statusbarLabel.getAttribute("value") + virtualIdentityExtension.extensionVersion);
52      ]]>
53    </constructor>
54    </implementation>
55  </binding>
56 
57 
58
59 
60</bindings>
Note: See TracBrowser for help on using the repository browser.