[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KIO::is_manually_mounted() and device UUIDs
From: Stephan Kulow <coolo () kde ! org>
Date: 2007-05-02 13:07:44
Message-ID: 200705021507.45612.coolo () kde ! org
[Download RAW message or body]
Am Montag 30 April 2007 schrieb David Faure:
> On Monday 30 April 2007, David Faure wrote:
> > They need KMountPoint for their icon (mounted != unmounted, but that's
> > KMountPoint::currentMountPoints, which gets device names, so no problem
> > there...) and for their url in KDesktopFile::readUrl() (but that code
> > looks wrong to me -- all such desktop files that I can see have a
> > MountPoint entry anyway, so we could just use that).
>
> Ah! Of course, 10mn after sending the mail, the brain goes "ding!".
> Solution: moving the icon-determination code one level up (to KFileItem
> instead of now-useless KDEDesktopMimeType) and fixing readUrl() to use the
> MountPoint= key instead.
>
> So now KMountPoint can move up to kio and do the right thing there using
> solid. Phew. Just in time :)
My alternative would have been: IPC with kded :)
Greetings, Stephan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic