DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (47b55c578f95)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://messenger/content/chat/imAccounts.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/imRichlistbox.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/imAccounts.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/chat.css" type="text/css"?>

<!DOCTYPE window [
 <!ENTITY % accountsDTD SYSTEM "chrome://messenger/locale/imAccounts.dtd">
 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
 <!ENTITY % chatDTD SYSTEM "chrome://messenger/locale/chat.dtd">
 %accountsDTD;
 %brandDTD;
 %chatDTD;
]>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        id="accountManager"
        windowtype="Messenger:Accounts"
        onload="gAccountManager.load()"
        title="&accountsWindow.title;"
        style="&accountsWindow2.style;"
        persist="width height screenX screenY">
 <script type="application/javascript" src="chrome://messenger/content/chat/imAccounts.js"/>
 <script type="application/javascript" src="chrome://messenger/content/chat/imStatusSelector.js"/>
 <script type="application/javascript" src="chrome://global/content/nsDragAndDrop.js" />
 <script type="application/javascript" src="chrome://global/content/nsTransferable.js" />

 <stringbundle id="accountsBundle" src="chrome://messenger/locale/imAccounts.properties"/>
 <stringbundle id="chatBundle" src="chrome://messenger/locale/chat.properties"/>

 <commandset id="accountsCommands">
   <command id="cmd_connect"
            accesskey="&account.connect.accesskey;"
            label="&account.connect.label;"
            oncommand="gAccountManager.connect()"/>
   <command id="cmd_disconnect"
            label="&account.disconnect.label;"
            accesskey="&account.disconnect.accesskey;"
            oncommand="gAccountManager.disconnect()"/>
   <command id="cmd_cancelReconnection"
            label="&account.cancelReconnection.label;"
            accesskey="&account.cancelReconnection.accesskey;"
            oncommand="gAccountManager.cancelReconnection()"/>
   <command id="cmd_copyDebugLog"
            label="&account.copyDebugLog.label;"
            accesskey="&account.copyDebugLog.accesskey;"
            oncommand="gAccountManager.copyDebugLog();"/>
   <command id="cmd_moveup"
            label="&account.moveup.label;"
            oncommand="gAccountManager.moveCurrentItem(-1)"/>
   <command id="cmd_movedown"
            label="&account.movedown.label;"
            oncommand="gAccountManager.moveCurrentItem(1)"/>
   <command id="cmd_edit"
            label="&account.edit.label;"
            accesskey="&account.edit.accesskey;"
            oncommand="gAccountManager.edit()"/>
   <command id="cmd_new"
            label="&accountManager.newAccount.label;"
            accesskey="&accountManager.newAccount.accesskey;"
            oncommand="gAccountManager.new()"/>
   <command id="cmd_close"
            label="&accountManager.close.label;"
            accesskey="&accountManager.close.accesskey;"
            oncommand="gAccountManager.close()"/>
 </commandset>

 <keyset id="accountsKeys">
   <key id="key_close1" key="w" modifiers="accel" command="cmd_close"/>
   <key id="key_close2" keycode="VK_ESCAPE" command="cmd_close"/>
   <key id="key_close3" command="cmd_close"
        key="&accountManager.close.commandkey;" modifiers="accel,shift"/>
 </keyset>

 <broadcasterset>
   <broadcaster id="contextAccountsItems"/>
 </broadcasterset>

 <menupopup id="accountsContextMenu"
            onpopupshowing="gAccountManager.onContextMenuShowing()">
   <menuitem id="context_connect"
             command="cmd_connect"
             observes="contextAccountsItems"/>
   <menuitem id="context_disconnect"
             command="cmd_disconnect"
             observes="contextAccountsItems"/>
   <menuitem id="context_cancelReconnection"
             command="cmd_cancelReconnection"
             observes="contextAccountsItems"/>
   <menuitem id="context_copyDebugLog"
             command="cmd_copyDebugLog"/>
   <menuseparator id="context_accountsItemsSeparator"
                  observes="contextAccountsItems"/>
   <menuitem command="cmd_new"/>
   <menuseparator observes="contextAccountsItems"/>
   <menuitem command="cmd_moveup" observes="contextAccountsItems"/>
   <menuitem command="cmd_movedown" observes="contextAccountsItems"/>
   <menuseparator observes="contextAccountsItems"/>
   <menuitem command="cmd_edit" observes="contextAccountsItems"/>
 </menupopup>

 <toolbox id="mainToolbox">
   <toolbar id="statusArea">
     <stack id="statusImageStack">
       <image id="userIcon" onclick="statusSelector.userIconClick();"/>
       <button type="menu" id="statusTypeIcon" status="available">
         <menupopup id="setStatusTypeMenupopup"
                    oncommand="statusSelector.editStatus(event);">
           <menuitem id="statusTypeAvailable" label="&status.available;"
                     status="available" class="menuitem-iconic"/>
           <menuitem id="statusTypeUnavailable" label="&status.unavailable;"
                     status="unavailable" class="menuitem-iconic"/>
           <menuseparator id="statusTypeOfflineSeparator"/>
           <menuitem id="statusTypeOffline" label="&status.offline;"
                     status="offline" class="menuitem-iconic"/>
         </menupopup>
       </button>
     </stack>
     <stack id="displayNameAndstatusMessageStack" flex="1">
       <vbox flex="1" pack="center">
         <label id="displayName" onclick="statusSelector.displayNameClick();"/>
       </vbox>
       <label id="statusMessage" crop="end" value=""
              onclick="statusSelector.statusMessageClick();"/>
     </stack>
   </toolbar>
 </toolbox>

 <deck flex="1" id="accountsDesk" ondblclick="gAccountManager.new();">
   <vbox flex="1" id="noAccountScreen" align="center" pack="center">
     <hbox id="noAccountBox" align="top">
       <image id="noAccountImage"/>
       <vbox id="noAccountInnerBox" flex="1">
         <label id="noAccountTitle" value="&accountManager.noAccount.title;"/>
         <description id="noAccountDesc">&accountManager.noAccount.description;</description>
       </vbox>
     </hbox>
   </vbox>
   <notificationbox id="accountsNotificationBox" flex="1">
     <richlistbox id="accountlist" flex="1" context="accountsContextMenu"
                  onselect="gAccountManager.onAccountSelect();"
                  ondragstart="nsDragAndDrop.startDrag(event, gAMDragAndDrop);"
                  ondragover="nsDragAndDrop.dragOver(event, gAMDragAndDrop);"
                  ondragend="gAMDragAndDrop.cleanBorders(true);"
                  ondragdrop="nsDragAndDrop.drop(event, gAMDragAndDrop);"/>
   </notificationbox>
 </deck>
 <windowdragbox id="bottombuttons" align="center">
  <button id="newaccount" command="cmd_new"/>
  <spacer flex="1"/>
  <button id="close" command="cmd_close"/>
 </windowdragbox>
</window>