From kde-panel-devel Fri Feb 26 17:52:14 2010 From: Yuen Hoe Lim Date: Fri, 26 Feb 2010 17:52:14 +0000 To: kde-panel-devel Subject: Re: Question on KNS3::DownloadDialog and .knsrc location Message-Id: <26362f481002260952t49b3098cvcfc7194b0560282e () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=126720683820919 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0149313108==" --===============0149313108== Content-Type: multipart/alternative; boundary=00151757664042f69f0480848f57 --00151757664042f69f0480848f57 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ack! Yes cmake problem. My bad! ---- Jason "moofang" Lim Yuen Hoe http://yuenhoe.co.cc/ On Sat, Feb 27, 2010 at 1:22 AM, wrote: > Hi, > > Is /usr/local/ your KDE 4 install dir (as returned by 'kde4-config > --prefix')? If not, you need to set $KDEDIRS to include this folder. > > Anne-Marie > > > ----- Mail Original ----- > De: "Yuen Hoe Lim" > =C0: "plasma-devel" > Envoy=E9: Vendredi 26 F=E9vrier 2010 18h05:05 GMT +01:00 Amsterdam / Berl= in / > Berne / Rome / Stockholm / Vienne > Objet: Question on KNS3::DownloadDialog and .knsrc location > > > Hi, > > So I've been playing with the shiny new GHNS integration in plasmate :) T= he > downloaddialog hasn't been working for me though, it complains that it > cannot find plasmate.knsrc. I install plasmate by doing sudo make install= , > and thus plasmate.knsrc gets installed to /usr/local/share/config. Howeve= r > when I run plasmate I naturally run it as regular user, and I suspect tha= t > DownloadDialog ends up looking for plasmate.knsrc in ~/.kde4/share/config= . > Indeed if I manually copy plasmate.knsrc to ~/.kde4/share/config, then th= e > downloaddialog works properly. > > Relevant line in CMake.List: > > install(FILES plasmate.knsrc DESTINATION ${CONFIG_INSTALL_DIR}) > > and in the code: > > KNS3::DownloadDialog *mNewStuffDialog =3D new > KNS3::DownloadDialog("plasmate.knsrc", this); > > Is plasmate doing something wrong? Or is this erroneous behavior on the > part of KNS3::DownloadDialog? > > ---- > Jason "moofang" Lim Yuen Hoe > http://yuenhoe.co.cc/ > > > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel > --00151757664042f69f0480848f57 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ack! Yes cmake problem. My bad!

----
Jason "mo= ofang" Lim Yuen Hoe
http://yuenho= e.co.cc/



On Sat, Feb 27, 2010 at 1:22 AM, <annemarie.mahf= ouf@free.fr> wrote:
Hi,

Is /usr/local/ your KDE 4 install dir (as returned by 'kde4-config --pr= efix')? If not, you need to set $KDEDIRS to include this folder.

Anne-Marie


----- Mail Original -----
De: "Yuen Hoe Lim" <yue= nhoe86@gmail.com>
=C0: "plasma-devel" <p= lasma-devel@kde.org>
Envoy=E9: Vendredi 26 F=E9vrier 2010 18h05:05 GMT +01:00 Amsterdam / Berlin= / Berne / Rome / Stockholm / Vienne
Objet: Question on KNS3::DownloadDialog and .knsrc location


Hi,

So I've been playing with the shiny new GHNS integration in plasmate :)= The downloaddialog hasn't been working for me though, it complains tha= t it cannot find plasmate.knsrc. I install plasmate by doing sudo make inst= all, and thus plasmate.knsrc gets installed to /usr/local/share/config. How= ever when I run plasmate I naturally run it as regular user, and I suspect = that DownloadDialog ends up looking for plasmate.knsrc in ~/.kde4/share/con= fig. Indeed if I manually copy plasmate.knsrc to ~/.kde4/share/config, then= the downloaddialog works properly.

Relevant line in CMake.List:

install(FILES plasmate.knsrc DESTINATION ${CONFIG_INSTALL_DIR})

and in the code:

KNS3::DownloadDialog *mNewStuffDialog =3D new KNS3::DownloadDialog("pl= asmate.knsrc", this);

Is plasmate doing something wrong? Or is this erroneous behavior on the par= t of KNS3::DownloadDialog?

----
Jason "moofang" Lim Yuen Hoe
http://yuenhoe.co.cc/


_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

--00151757664042f69f0480848f57-- --===============0149313108== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============0149313108==--