print-preview bug resolved

Ralf Nolden nolden at kde.org
Tue Apr 3 11:27:06 BST 2001


Wolf-Ruediger Juergens wrote:

Hi,

thanks for the bugfixing - unfortunately I'm packing my stuff to go to
Kopenhagen tonight, so if someone could review this and put it into CVS
if it works I would be glad as I'm without internet access for the next
couple of days.

Thanks,

Ralf
> 
> Hi,
> I resolved the very annoying bug in print-preview of Kdevelop1.4.1
> Problem is that no Preview was generated because locate doesn't give a
> user writeable dir back.
> 
> After reading the doc and found locateLocale I've changed the files
> below and the preview was ok :-) at least for me.
> 
> File: kdevelop/print/cconfiga2psdlg.cpp
> Line: 825
> - dir =  locate("appdata", "preview.ps");
> + dir =  locateLocal("appdata", "preview.ps");
> 
> File: kdevelop/print/cconfigenscriptdlg.cpp
> Line: 2677
> - dir =  locate("appdata", "preview.ps");
> + dir =  locateLocal("appdata", "preview.ps");
> 
> File: kdevelop/print/cprintdlg.cpp
> Line: 1017
> -     dir = locate("appdata", "preview.html");
> +     dir = locateLocal("appdata", "preview.html");
> Line: 1020
> -     dir = locate("appdata", "preview.ps");
> +     dir = locateLocal("appdata", "preview.ps");
> 
> HTH
> Wolf
> --
> Registered Linux user #37136 - GnuPG 1.04 Key-ID: 5E2A6678
> fingerprint: A9A8 1E85 1334 38F2 1EDC  1DEF ADFE 12B2 5E2A 6678
> http://wjuergens.bei.t-online.de/index.html
> 
> -
> to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«

-- 
Finally, even I have to admit that being myself was the best thing
that ever could have happened to me. - Le Grand Charmeur

**********************************
Ralf Nolden

The KDevelop Project
http://www.kdevelop.org

nolden at kde.org
rnolden at kdevelop.org
**********************************



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list