On Wednesday 29 October 2008 21:57:44 Aaron J. Seigo wrote: > 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 ...
Added a kde test user which only has kde-svn and it seems to work there, so it was just me & my messed up system that was wrong here :-) Petri
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel