Question on KNS3::DownloadDialog and .knsrc location
annemarie.mahfouf at free.fr
annemarie.mahfouf at free.fr
Fri Feb 26 18:22:15 CET 2010
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" <yuenhoe86 at gmail.com>
À: "plasma-devel" <plasma-devel at kde.org>
Envoyé: Vendredi 26 Février 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 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. However 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/config. 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 = 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 at kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
More information about the Plasma-devel
mailing list