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

source: content/notificationbar/vI_notificationBar.xml @ 184c6c

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

rearranged tree structure / added build-script

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