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: Wed, 16 Mar 2005 12:21:49 +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>
- Organization: Images Through Glass
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217
Jean-Christian Imbeault wrote: > The above is a diff/patch of the file that contained the error. > > If I read it correctly the file is > mailnews/addrbook/resources/content/addressbook.js and the error is on > line 493. The - before the line indicates a deleted line and the + > before a line indicates a new line. So basically, in order to fix the > bug, the line was changed from: > > addressbook.exportAddressBook(directory); > > to: > > addressbook.exportAddressBook(window, directory); > > So you can either go and fix the file yourself and or use the patch > program to fix it for you. Since it's just one file and one change I'd > opt for doing it myself. > > And luckily for you it looks like the bug was in a javascript file so > probably no need to recompile I would think. Thank you, I think I will try to repair that line. Now for another question that highlights how little I know: How do I get to that line? I looked at: RCS file: /cvsroot/mozilla/mailnews/addrbook/resources/content/addressbook.js,v retrieving revision 1.104 diff -u -u -8 -p -r1.104 addressbook.js - and figured that would be the file path, but with the Mozilla folder (I installed it under user, not root), I can't find "mailnews" - what I do have is: chrome, components, defaults, greprefs, icons, init.d, plugins, res, searchplugins Sorry for the stupid question, but I'm stuck.... Lyle Ref: Index: mailnews/addrbook/resources/content/addressbook.js =================================================================== RCS file: /cvsroot/mozilla/mailnews/addrbook/resources/content/addressbook.js,v retrieving revision 1.104 diff -u -u -8 -p -r1.104 addressbook.js --- mailnews/addrbook/resources/content/addressbook.js 27 Jan 2004 17:33:33 -0000 1.104 +++ mailnews/addrbook/resources/content/addressbook.js 28 Dec 2004 10:59:50 -0000 @@ -493,17 +493,17 @@ function AbPrintPreviewAddressBook() function AbExport() { try { var selectedABURI = GetSelectedDirectory(); if (!selectedABURI) return; var directory = GetDirectoryFromURI(selectedABURI); - addressbook.exportAddressBook(directory); + 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:
- Follow-Ups:
- Re: [tlug] AdBookWorkaround
- From: Botond Botyanszki
- References:
- [tlug] AdBookWorkaround
- From: Lyle (Hiroshi) Saxon
- Re: [tlug] AdBookWorkaround
- From: Lyle (Hiroshi) Saxon
- Re: [tlug] AdBookWorkaround
- From: Jean-Christian Imbeault
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] AdBookWorkaround
- Next by Date: [tlug-digest] Re: [tlug] Fedora Core 3 questions
- Previous by thread: Re: [tlug] AdBookWorkaround
- Next by thread: Re: [tlug] AdBookWorkaround
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links