print-preview bug resolved

Roland Krause rokrau at yahoo.com
Wed Apr 4 06:08:39 UTC 2001


This was in cvs last time I got an update. 
Roland

--- Ralf Nolden <nolden at kde.org> wrote:
> 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-devel-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«


=====
--
Roland Krause
In the garage of life there are mechanics and 
there are drivers. Mechanics wanted!

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

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



More information about the KDevelop-devel mailing list