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 (b05f05a590f4)

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
<?xml version="1.0"?>
<!-- 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/. -->

<!DOCTYPE overlay [
<!ENTITY % editContactOverlayDTD SYSTEM "chrome://messenger/locale/editContactOverlay.dtd">
%editContactOverlayDTD;
]>

<?xml-stylesheet href="chrome://messenger/skin/editContactOverlay.css"?>

<overlay id="editContactOverlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <stringbundleset id="stringbundleset">
    <stringbundle id="bundle_editContact"
                  src="chrome://messenger/locale/editContactOverlay.properties"/>
  </stringbundleset>

  <panel id="editContactPanel"
         type="arrow"
         orient="vertical"
         ignorekeys="true"
         hidden="true"
         aria-labelledby="editContactPanelTitle"
         onpopuphidden="editContactInlineUI.onPopupHidden(event);"
         onpopupshown="editContactInlineUI.onPopupShown(event);"
         onkeypress="editContactInlineUI.onKeyPress(event, true);">
    <hbox flex="1" align="center">
      <image id="editContactPanelIcon"/>
      <label id="editContactPanelTitle" flex="1"/>
      <button id="editContactPanelDeleteContactButton"
              label="&editContactPanelDeleteContact.label;"
              accesskey="&editContactPanelDeleteContact.accesskey;"
              oncommand="editContactInlineUI.deleteContact();"
              onkeypress="editContactInlineUI.onKeyPress(event, false);"/>
    </hbox>

    <vbox id="editContactContent">
      <grid id="editContactGrid" flex="1">
        <columns>
          <column/>
          <column flex="1"/>
        </columns>
        <rows>
          <row align="center" id="editContactNameRow">
            <label value="&editContactName.label;"
                   class="editContactPanel_rowLabel"
                   accesskey="&editContactName.accesskey;"
                   control="editContactName"/>
            <textbox id="editContactName" class="editContactTextbox"
                     onkeypress="editContactInlineUI.onKeyPress(event, true);"/>
          </row>
          <row align="center" id="editContactEmailRow">
            <label value="&editContactEmail.label;"
                   class="editContactPanel_rowLabel"
                   accesskey="&editContactEmail.accesskey;"
                   control="editContactEmail"/>
            <textbox id="editContactEmail" readonly="true"
                     class="editContactTextbox"
                     onkeypress="editContactInlineUI.onKeyPress(event, true);"/>
          </row>
          <row align="center" id="editContactABRow">
            <label id="editContactAddressBook"
                   class="editContactPanel_rowLabel"
                   value="&editContactAddressBook.label;"
                   accesskey="&editContactAddressBook.accesskey;"
                   control="editContactAddressBookList"/>
            <menulist id="editContactAddressBookList" flex="1">
              <menupopup id="editContactAddressBookList-menupopup"
                         class="addrbooksPopup"/>
            </menulist>
          </row>
          <row>
            <hbox/>
            <description id="contactMoveDisabledText"
                         collapsed="true">&contactMoveDisabledWarning.description;</description>
          </row>
        </rows>
      </grid>
    </vbox>

    <vbox>
      <hbox flex="1" id="editContactPanelBottomButtons">
        <button id="editContactPanelEditDetailsButton"
                oncommand="editContactInlineUI.editDetails();"
                onkeypress="editContactInlineUI.onKeyPress(event, false);"/>
        <spacer flex="1"/>
#ifndef XP_UNIX
        <button id="editContactPanelDoneButton"
                label="&editContactPanelDone.label;"
                accesskey="&editContactPanelDone.accesskey;" default="true"
                oncommand="editContactInlineUI.saveChanges();"
                onkeypress="editContactInlineUI.onKeyPress(event, false);"/>
        <button id="editContactPanelCancelButton"
                label="&editContactPanelCancel.label;"
                accesskey="&editContactPanelCancel.accesskey;"
                oncommand="editContactInlineUI.panel.hidePopup();"
                onkeypress="editContactInlineUI.onKeyPress(event, false);"/>
#else
        <button id="editContactPanelCancelButton"
                label="&editContactPanelCancel.label;"
                accesskey="&editContactPanelCancel.accesskey;"
                oncommand="editContactInlineUI.panel.hidePopup();"
                onkeypress="editContactInlineUI.onKeyPress(event, false);"/>
        <button id="editContactPanelDoneButton"
                label="&editContactPanelDone.label;"
                accesskey="&editContactPanelDone.accesskey;" default="true"
                oncommand="editContactInlineUI.saveChanges();"
                onkeypress="editContactInlineUI.onKeyPress(event, false);"/>
#endif
      </hbox>
    </vbox>
  </panel>
</overlay>