Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] AdBookWorkaround
- Date: Fri, 18 Mar 2005 11:50:10 +0900
- From: "Lyle (Hiroshi) Saxon" <ronfaxon@example.com>
- Subject: Re: [tlug] AdBookWorkaround
- References: <4223D66D.3050902@example.com> <42379401.6040108@example.com> <423798CD.6020302@example.com> <4237A64D.1080405@example.com> <20050317204617.0d0bfa21@example.com>
- Organization: Images Through Glass
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217
Botond Botyanszki wrote: >>How do I get to that line? I looked at: >>/cvsroot/mozilla/mailnews/addrbook/resources/content/addressbook.js,v >>- and figured that would be the file path, but with the Mozilla folder >> >> > >On my distro, the file is compiled into >/usr/lib/mozilla/chrome/messenger.jar >In this jar file you can find it as >content/messenger/addressbook/addressbook.js > > Thank you for your help! I finally found the file in usr/mozilla/chrome/messenger.jar I made the change, but it hasn't corrected the problem, so maybe that fix I read about wasn't a fix after all. What I have now is: function AbExport() { try { var selectedABURI = GetSelectedDirectory(); if (!selectedABURI) return; var directory = GetDirectoryFromURI(selectedABURI); addressbook.exportAddressBook(window, directory); } catch (ex) { var promptService = Components.classes["@example.com/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService); if (promptService) { var message; switch (ex.result) { case Components.results.NS_ERROR_FILE_ACCESS_DENIED: message = gAddressBookBundle.getString("failedToExportMessageFileAccessDenied"); break; case Components.results.NS_ERROR_FILE_NO_DEVICE_SPACE: message = gAddressBookBundle.getString("failedToExportMessageNoDeviceSpace"); break; default: message = ex.message; break; } promptService.alert(window, gAddressBookBundle.getString("failedToExportTitle"), message); } } }
- Follow-Ups:
- Re: [tlug] AdBookWorkaround
- From: Jean-Christian Imbeault
- References:
- [tlug] AdBookWorkaround
- From: Lyle (Hiroshi) Saxon
- Re: [tlug] AdBookWorkaround
- From: Lyle (Hiroshi) Saxon
- Re: [tlug] AdBookWorkaround
- From: Jean-Christian Imbeault
- Re: [tlug] AdBookWorkaround
- From: Lyle (Hiroshi) Saxon
- Re: [tlug] AdBookWorkaround
- From: Botond Botyanszki
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] date
- Next by Date: Re: [tlug] AdBookWorkaround
- Previous by thread: Re: [tlug] AdBookWorkaround
- Next by thread: Re: [tlug] AdBookWorkaround
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links