mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 10:25:01 +00:00
more work on #73868. converting ab from tree to outliner. NOT PART OF THE BUILD.
This commit is contained in:
parent
76b5876544
commit
8fc33339c2
@ -21,8 +21,10 @@
|
||||
* Seth Spitzer <sspitzer@netscape.com>
|
||||
*/
|
||||
|
||||
function abPanelStartup()
|
||||
function abPanelLoad()
|
||||
{
|
||||
InitCommonJS();
|
||||
|
||||
var selectedAB = "moz-abmdbdirectory://abook.mab";
|
||||
|
||||
// XXX duplicated code, see OnLoadMailList()
|
||||
@ -49,6 +51,11 @@ function abPanelStartup()
|
||||
ChangeDirectoryByDOMNode(abPopup.selectedItem);
|
||||
}
|
||||
|
||||
function abPanelUnload()
|
||||
{
|
||||
CloseAbView();
|
||||
}
|
||||
|
||||
function AbPanelNewCard()
|
||||
{
|
||||
var abList = document.getElementById('addressbookList');
|
||||
|
35
themes/classic/messenger/addressbook/mac/abResultsPane.css
Normal file
35
themes/classic/messenger/addressbook/mac/abResultsPane.css
Normal file
@ -0,0 +1,35 @@
|
||||
/*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is Mozilla Communicator client code, released
|
||||
* March 31, 1998.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Original Author:
|
||||
* Seth Spitzer <sspitzer@netscape.com>
|
||||
*/
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
outlinerbody:-moz-outliner-image(DisplayName) {
|
||||
padding-right: 2px;
|
||||
list-style-image: url("chrome://messenger/skin/abcard.gif");
|
||||
}
|
||||
|
||||
outlinerbody:-moz-outliner-image(DisplayName, MailList) {
|
||||
padding-right: 2px;
|
||||
list-style-image: url("chrome://messenger/skin/addressbook/list.gif");
|
||||
}
|
||||
|
35
themes/classic/messenger/addressbook/win/abResultsPane.css
Normal file
35
themes/classic/messenger/addressbook/win/abResultsPane.css
Normal file
@ -0,0 +1,35 @@
|
||||
/*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is Mozilla Communicator client code, released
|
||||
* March 31, 1998.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Original Author:
|
||||
* Seth Spitzer <sspitzer@netscape.com>
|
||||
*/
|
||||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
outlinerbody:-moz-outliner-image(DisplayName) {
|
||||
padding-right: 2px;
|
||||
list-style-image: url("chrome://messenger/skin/abcard.gif");
|
||||
}
|
||||
|
||||
outlinerbody:-moz-outliner-image(DisplayName, MailList) {
|
||||
padding-right: 2px;
|
||||
list-style-image: url("chrome://messenger/skin/addressbook/list.gif");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user