Bug 254564 Buddy icons not shown

p=michaeljgruber@fastmail.fm r/sr=bienvenu
This commit is contained in:
bugzilla%arlen.demon.co.uk 2005-09-18 20:38:48 +00:00
Родитель d7a4dd3ee7
Коммит 2f1da080b2
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -351,7 +351,7 @@ function setBuddyIcon(card, buddyIcon)
if (myScreenName && card.primaryEmail) {
if (!gProfileDirURL) {
// lazily create these file urls, and keep them around
var dirService = Components.classes["@mozilla.org/directory_service;1"]
var dirService = Components.classes["@mozilla.org/file/directory_service;1"]
.getService(Components.interfaces.nsIProperties);
var profileDir = dirService.get("ProfD", Components.interfaces.nsIFile);
gProfileDirURL = gIOService.newFileURI(profileDir);

Просмотреть файл

@ -814,7 +814,7 @@ function setFromBuddyIcon(email)
gIOService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
gFileHandler = gIOService.getProtocolHandler("file").QueryInterface(Components.interfaces.nsIFileProtocolHandler);
var dirService = Components.classes["@mozilla.org/directory_service;1"]
var dirService = Components.classes["@mozilla.org/file/directory_service;1"]
.getService(Components.interfaces.nsIProperties);
var profileDir = dirService.get("ProfD", Components.interfaces.nsIFile);
gProfileDirURL = gIOService.newFileURI(profileDir);