зеркало из https://github.com/mozilla/pjs.git
Add a context menu to the contact panel for deleting and editing cards.
Fork tools icon (patch from stephen walker)
This commit is contained in:
Родитель
8fbaffe7f2
Коммит
124a232863
|
@ -54,7 +54,12 @@
|
|||
<script type="application/x-javascript" src="chrome://messenger/content/addressbook/abResultsPane.js"/>
|
||||
<script type="application/x-javascript" src="chrome://messenger/content/addressbook/abSelectAddressesDialog.js"/>
|
||||
<script type="application/x-javascript" src="chrome://messenger/content/addressbook/abContactsPanel.js"/>
|
||||
|
||||
|
||||
<popup id="cardProperties">
|
||||
<menuitem label="&deleteAddrBookCard.label;" accesskey="&deleteAddrBookCard.accesskey;" oncommand="AbDelete();"/>
|
||||
<menuitem label="&addrBookCardProperties.label;" accesskey="&addrBookCardProperties.accesskey;" oncommand="AbEditSelectedCard();"/>
|
||||
</popup>
|
||||
|
||||
<vbox id="results_box" flex="1">
|
||||
<separator class="thin"/>
|
||||
<label value="&addressbookPicker.label;"/>
|
||||
|
@ -88,7 +93,7 @@
|
|||
|
||||
<separator class="thin"/>
|
||||
|
||||
<tree id="abResultsTree" flex="1" class="plain" sortCol="GeneratedName" persist="sortCol" ondblclick="addSelectedAddresses('addr_to')">
|
||||
<tree id="abResultsTree" flex="1" context="cardProperties" class="plain" sortCol="GeneratedName" persist="sortCol" ondblclick="addSelectedAddresses('addr_to')">
|
||||
<treecols>
|
||||
<!-- these column ids must match up to the mork column names, see nsIAddrDatabase.idl -->
|
||||
<treecol id="GeneratedName" class="sortDirectionIndicator"
|
||||
|
|
|
@ -2,10 +2,11 @@ classic.jar:
|
|||
+ skin/classic/messenger/addressbook/addressbook.css (skin/addressbook.css)
|
||||
+ skin/classic/messenger/addressbook/abContactsPanel.css (skin/abContactsPanel.css)
|
||||
+ skin/classic/messenger/addressbook/cardDialog.css (skin/cardDialog.css)
|
||||
skin/classic/messenger/addressbook/icons/addressbook-16.gif (skin/icons/addressbook-16.gif)
|
||||
|
||||
messenger.jar:
|
||||
*+ content/messenger/addressbook/abCardViewOverlay.js (content/abCardViewOverlay.js)
|
||||
*+ content/messenger/addressbook/addressbook.js (content/addressbook.js)
|
||||
*+ content/messenger/addressbook/abCardViewOverlay.js (content/abCardViewOverlay.js)
|
||||
*+ content/messenger/addressbook/addressbook.js (content/addressbook.js)
|
||||
*+ content/messenger/addressbook/addressbook.xul (content/addressbook.xul)
|
||||
*+ content/messenger/addressbook/abCardOverlay.js (content/abCardOverlay.js)
|
||||
+ content/messenger/addressbook/abAddressBookNameDialog.js (content/abAddressBookNameDialog.js)
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
/* ::::: tools menu icon ::::: */
|
||||
|
||||
.icon-mail16 {
|
||||
list-style-image: url("chrome://communicator/skin/taskbar/mail-16.gif");
|
||||
list-style-image: url("chrome://messenger/skin/icons/mail-16.gif");
|
||||
}
|
||||
|
||||
/* ::::: primary toolbar buttons ::::: */
|
||||
|
|
Загрузка…
Ссылка в новой задаче