[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: slight change to "dropping links" on kdesktop
From: <pbrown () redhat ! com>
Date: 2000-05-30 14:22:47
[Download RAW message or body]
On Tue, 30 May 2000, David Faure wrote:
> On Mon, May 29, 2000 at 10:41:59PM -0400, pbrown@redhat.com wrote:
> > right now, when you drop a link from netscape or konqi on the desktop,
> > and select "link," you end up with a desktop file for that URL with a name
> > set to the URL. What would be much cooler is if the name was set to the
> > actual title of the HTML page.
> >
> > How bad would this be to implement?
>
> Not too hard I think. But this requires changing the signature of
> bool KIO::link( const KURL::List &srcUrls, const KURL & destDir )
> so that you can specify the name of the destination link, since the
> default implementation is
> // The destination URL is the destination dir + the filename
The way I thought about doing it would be for kdesktop to see that the
link is a http:// protocol address, and use kio_http to go and grab the
document title, instead of encoding the title in the signature of
KIO::link.
What do you think of that approach?
--
Preston Brown
pbrown@redhat.com Red Hat, Inc.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic