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 13:44:27 +0900
- From: Kiyoshi Kawaguchi <kkawaguc8020@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> <AANLkTi=n-QdddmWemSHGL0Z9h+aaR91RjGqhuFGh7=YD@example.com>
Kalin, > I'll double check if "~" is a good way to code this... may be $HOME or > get it from /etc/passwd for running user? Once we make it to allow xpdfrc to configure the path, we may not have to worry about this. Rgds, Kiyoshi 2010/10/31, Kalin KOZHUHAROV <me.kalin@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. > > -- > To unsubscribe from this mailing list, > please see the instructions at http://lists.tlug.jp/list.html > > The TLUG mailing list is hosted by the award-winning Internet provider > ASAHI Net. > Visit ASAHI Net's English-language Web page: http://asahi-net.jp/en/
- 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
- Re: [tlug] xpdf "save as" directory
- From: Kalin KOZHUHAROV
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] xpdf "save as" directory
- Previous by thread: Re: [tlug] xpdf "save as" directory
- Next by thread: [tlug] xterm with hiragana/kanji
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links