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

List:       kde-devel
Subject:    Patch: New KRunner for places.
From:       David Edmundson <david () davidedmundson ! co ! uk>
Date:       2008-08-31 18:03:09
Message-ID: 200808311903.13427.david () davidedmundson ! co ! uk
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


I've written a new KRunner for KDE. It looks at the bookmarks list for 
dolphin, the folders in the Places panel, and includes them in the krunner 
search. Nothing exciting or amazing, I wrote it because I went to use the 
functionality and was surprised that it didn't do it already.

I'm posting here so it can be reviewed and committed, or so I can receive some 
constructive abuse about my code so it can be committed later.

Code is attached.

Part 2 

I imagine the follow up question I'm going to get asked is "does it also list 
devices like Dolphin does in the places bar?".

I've tried doing this but I keep making Krunner crash, I've attached my code 
file for this. I think, though I may be wrong. That I get a crash when krunner 
runs my code to find a device matching the search term, I call solid, then 
krunner tells me to search for a new term. This means the Solid objects are 
removed mid-way through it's dbus magic, which causes it to explode wildly. 
I've spent a while on this and I can't figure out how to fix it.

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

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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