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] xpdf "save as" directory
- Date: Sun, 31 Oct 2010 12:57:27 +0900
- From: Kalin KOZHUHAROV <me.kalin@example.com>
- Subject: Re: [tlug] xpdf "save as" directory
- References: <20101026080844.GI8822@example.com> <AANLkTinR7C_t0gc6SETAv8ctpdn1tWEMi9osdYAWX6b0@example.com> <87wrp2xlpr.fsf@example.com> <AANLkTinYORR8sjjzaNU9nM5LR+pLJD2R-=2KYNVODwHO@example.com>
Hi Kiyoshi, On Sun, Oct 31, 2010 at 09:31, Kiyoshi Kawaguchi <kkawaguc8020@example.com> wrote: > I was able to change the default directory in "Save As" dialog but in > the source code level like this: > > In XPDFViewer.cc file, in function XPDFViewer::initSaveAsDialog(), in > the if-block of the latter part of the function routine, > > [before] s1 = XmStringCreatedLocalized(dir->getCString()); // This > gets the dir of the currently opened file. > > [after] s1 = XmStringCreatedLocalized("~"); // Let's force it to the > home directory. ;) > > For making it controllable by the user via xpdfrc, then I need to take > a look at GlobalParams.cc for further modification..... > I'll double check if "~" is a good way to code this... may be $HOME or get it from /etc/passwd for running user? If you spend a bit more time to make it configurable via .xpdfrc file or environment variable or menu, you can send your patch to the "official tree" by mailing derekn@example.com (see http://www.foolabs.com/xpdf/home.html) Cheers, Kalin.
- Follow-Ups:
- Re: [tlug] xpdf "save as" directory
- From: Kiyoshi Kawaguchi
- References:
- [tlug] xpdf "save as" directory
- From: Michal Hajek
- Re: [tlug] xpdf "save as" directory
- From: Kiyoshi Kawaguchi
- Re: [tlug] xpdf "save as" directory
- From: Stephen J. Turnbull
- Re: [tlug] xpdf "save as" directory
- From: Kiyoshi Kawaguchi
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] xpdf "save as" directory
- Next by Date: Re: [tlug] xpdf "save as" directory
- Previous by thread: Re: [tlug] xpdf "save as" directory
- Next by thread: Re: [tlug] xpdf "save as" directory
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links