KService: support for storing Actions defined in .desktop files into ksycoca4

Kevin Ottens ervin at kde.org
Mon Oct 15 16:14:23 BST 2007


Le lundi 15 octobre 2007, David Faure a écrit :
> On Saturday 13 October 2007, David Faure wrote:
> > Desktop files can defined Actions (as per the desktop entry standard).
> > [...] This is simple to fix: letting KService save the information about
> > those actions into ksycoca. [...]
> >
> > Also ported KDesktopFileActions to that; changes the API slightly,
> > KDesktopFileActions::Service is to be ported to KServiceAction, which is
> > good since Service had ugly public members. This part will wait until
> > Monday obviously.
>
> Here's the patch that ports kdebase to this API change.
> Kevin used KDesktopFileActions::Service more than I expected :)
>
> In the diff:
> Index: runtime/kioslave/media/*
> Index: runtime/soliduiserver/*
> Index: apps/lib/konq/konq_menuactions_p.h
> Index: apps/lib/konq/konq_menuactions.cpp
> Index: workspace/kscreensaver/krandom_screensaver/random.cpp (Laurent, can
> you double-check this one?)
>
> OK for committing this today?

Fine with me.
Note that runtime/kioslave/media is planned to disappear (move to 
unmaintained) later today, do you want me to wait for this patch to be 
applied?

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071015/32c4be89/attachment.sig>


More information about the kde-core-devel mailing list