more work on #73868. converting ab from tree to outliner. NOT PART OF THE BUILD.

This commit is contained in:
sspitzer%netscape.com 2001-11-14 10:25:19 +00:00
parent 76b5876544
commit 8fc33339c2
3 changed files with 78 additions and 1 deletions

View File

@ -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');

View 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");
}

View 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");
}