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

List:       kde-panel-devel
Subject:    Re: GHNS & plasmapkg
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2008-10-29 19:57:44
Message-ID: 200810291357.49485.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 29 October 2008, Petri Damstén wrote:
> On Wednesday 29 October 2008 05:08:32 Aaron J. Seigo wrote:
> > On Tuesday 28 October 2008, Petri Damstén wrote:
> > > Run kbuildsyscoca4 from plasmapkg patch attached.
> >
> > this could probably be done via dbus and kded (faster, more reliable?)
> >
> > 	qdbus org.kde.kded /kbuildsycoca recreate
> >
> > so something like in the code:
> >
> > QDBusInterface dbus("org.kde.kded", "/kbuildsycoca",
> > "org.kde.kbuildsycoca"); dbus.call(QDBus::NoBlock, "recreate");
> >
> > otherwise, +1 for the concept =) assuming you get it working via the
> > above dbus interface, pls commit..
>
> Does not work for me like this or from qdbusviewer. I think it's because I
> have plasma svn running on top of the kubuntu 4.1.2 and dbus calls the
> 4.1.2 kbuildsycoca, so I can't test this. (I think KProcess works since
> then there are correct env variables and /opt/kde-svn/bin is first in
> path).

hm.. it shouldn't matter. does qdbus not show ord.kde.kded, /kbduilsycoca or 
the recreate method? i tested it here before sending the original email, so it 
would be interesting to know why it isn't working there ...

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software


["signature.asc" (application/pgp-signature)]

_______________________________________________
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