Commit 8a351932 authored by Adrien Dorsaz's avatar Adrien Dorsaz

addressbook: move png files to common/theme/images/

parent e76efcc5
......@@ -63,7 +63,7 @@ var photoHandlerExternal = {
onShow: function _onShow(aCard, aDocument, aTargetID) {
if ((aCard) && (aCard.getProperty("PhotoData", ""))) {
this.downloadAttachment(aDocument.getElementById(aTargetID), aCard);
aDocument.getElementById(aTargetID).setAttribute("src", "chrome://exchangecontacts/content/loading-from-server.png");
aDocument.getElementById(aTargetID).setAttribute("src", "chrome://exchangecommon-common/skin/images/loading-from-server.png");
return true;
}
else {
......@@ -108,7 +108,7 @@ var photoHandlerExternal = {
onDownloadAttachmentError: function _onDownloadAttachmentError(aExchangeRequest, aCode, aMsg) {
//dump("photoHandlerExternal.onDownloadAttachmentError: aCode:"+aCode+", aMsg:"+aMsg+"\n");
aExchangeRequest.argument.img.setAttribute("src", "chrome://exchangecontacts/content/error-loading-from-server.png");
aExchangeRequest.argument.img.setAttribute("src", "chrome://exchangecommon-common/skin/images/error-loading-from-server.png");
},
}
......
......@@ -29,7 +29,7 @@
/* ::::: primary toolbar buttons ::::: */
#button-addexchangeaccount {
list-style-image: url("chrome://exchangecontacts/content/button-addcontact.22x22.png");
list-style-image: url("chrome://exchangecommon-common/skin/images/button-addcontact.22x22.png");
-moz-image-region: rect(0px 21px 21px 0px);
}
......@@ -47,7 +47,7 @@
/*---*/
#button-deleteexchangeaccount {
list-style-image: url("chrome://exchangecontacts/content/button-deletecontact.22x22.png");
list-style-image: url("chrome://exchangecommon-common/skin/images/button-deletecontact.22x22.png");
-moz-image-region: rect(0px 21px 21px 0px);
}
......
......@@ -210,7 +210,7 @@ exchAddressbookOverlay.prototype = {
photoDisplayHandlerExternal: function _photoDisplayHandlerExternal(aCard, aImg) {
if ((aCard) && (aCard.getProperty("PhotoData"))) {
this.downloadAttachment(aImg, aCard);
aImg.setAttribute("src", "chrome://exchangecontacts/content/loading-from-server.png");
aImg.setAttribute("src", "chrome://exchangecommon-common/skin/images/loading-from-server.png");
return true;
}
else {
......@@ -291,7 +291,7 @@ exchAddressbookOverlay.prototype = {
onDownloadAttachmentError: function _onDownloadAttachmentError(aExchangeRequest, aCode, aMsg) {
this.globalFunctions.LOG("exchAddressbookOverlay.onDownloadAttachmentError: aCode:" + aCode + ", aMsg:" + aMsg);
aExchangeRequest.argument.img.setAttribute("src", "chrome://exchangecontacts/content/error-loading-from-server.png");
aExchangeRequest.argument.img.setAttribute("src", "chrome://exchangecommon-common/skin/images/error-loading-from-server.png");
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment