[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Question on KNS3::DownloadDialog and .knsrc location
From:       Yuen Hoe Lim <yuenhoe86 () gmail ! com>
Date:       2010-02-26 17:52:14
Message-ID: 26362f481002260952t49b3098cvcfc7194b0560282e () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Ack! Yes cmake problem. My bad!

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



On Sat, Feb 27, 2010 at 1:22 AM, <annemarie.mahfouf@free.fr> 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" <yuenhoe86@gmail.com>
> À: "plasma-devel" <plasma-devel@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@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
>

[Attachment #5 (text/html)]

Ack! Yes cmake problem. My bad!<br><br clear="all">----<br>Jason &quot;moofang&quot; \
Lim Yuen Hoe<br><a href="http://yuenhoe.co.cc/">http://yuenhoe.co.cc/</a><br><br> \
<br><br><div class="gmail_quote">On Sat, Feb 27, 2010 at 1:22 AM,  <span \
dir="ltr">&lt;<a href="mailto:annemarie.mahfouf@free.fr">annemarie.mahfouf@free.fr</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br>
<br>
Is /usr/local/ your KDE 4 install dir (as returned by &#39;kde4-config \
--prefix&#39;)? If not, you need to set $KDEDIRS to include this folder.<br> <br>
Anne-Marie<br>
<br>
<br>
----- Mail Original -----<br>
De: &quot;Yuen Hoe Lim&quot; &lt;<a \
href="mailto:yuenhoe86@gmail.com">yuenhoe86@gmail.com</a>&gt;<br> À: \
&quot;plasma-devel&quot; &lt;<a \
href="mailto:plasma-devel@kde.org">plasma-devel@kde.org</a>&gt;<br> Envoyé: Vendredi \
26 Février 2010 18h05:05 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / \
                Vienne<br>
Objet: Question on KNS3::DownloadDialog and .knsrc location<br>
<div><div></div><div class="h5"><br>
<br>
Hi,<br>
<br>
So I&#39;ve been playing with the shiny new GHNS integration in plasmate :) The \
downloaddialog hasn&#39;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.<br>

<br>
Relevant line in CMake.List:<br>
<br>
install(FILES plasmate.knsrc DESTINATION ${CONFIG_INSTALL_DIR})<br>
<br>
and in the code:<br>
<br>
KNS3::DownloadDialog *mNewStuffDialog = new \
KNS3::DownloadDialog(&quot;plasmate.knsrc&quot;, this);<br> <br>
Is plasmate doing something wrong? Or is this erroneous behavior on the part of \
KNS3::DownloadDialog?<br> <br>
----<br>
Jason &quot;moofang&quot; Lim Yuen Hoe<br>
<a href="http://yuenhoe.co.cc/" target="_blank">http://yuenhoe.co.cc/</a><br>
<br>
<br>
</div></div>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
_______________________________________________<br> Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
</blockquote></div><br>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic