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

List:       kde-devel
Subject:    Re: The KDE Pulldown Menu Style Guide
From:       Stephan Kulow <coolo () kde ! org>
Date:       1998-10-29 7:52:46
[Download RAW message or body]

Andreas Pour wrote:
> 
> Stephan Kulow wrote:
> 
> > Carsten Pfeiffer wrote:
> > >
> > > Hiya,
> > >
> > > > Really? That would mean kfile would download the file, what it doesn't
> > > > afaik. It just returns the URL to you.
> > >
> > > uh oh, of course, I could be wrong. It's been quite some time, when kfile
> > > wasn't ready yet and I patched kedit to work with kfile there were no
> > > bookmarks for URLs in kedit, and kfile would offer that).  IIRC, I got the
> > > whole thing running and then found out, that kfile just fetched the file
> > > for kedit and returned a local copy. Saving it, would only change the
> > > local copy, then. Maybe this has changed?
> > >
> > > BTW, I wanted to try this out right now, but kfile doesn't let me enter a
> > > URL in kedit, it says, kedit accepts only local files, so the "open URL"
> > > option is necessary anyway.
> > >
> > There are two functions: GetSaveName and GetSaveURL. The first does only
> > accept local files, the later everything, that looks like an URL.
> 
> I don't mean to be obtuse, but does this mean I should include the "Open URL .
> . ." and "Save to URL . . ." menu entries in the Menu Style Guide?  Or is the
> programmer responsible for arranging the proper call (e.g., by having a button
> on the getfilename dialog that allows a user to pick the getsaveurl dialog)?

Well, unfortunatly no application (afaik) uses Get...URL right now, so
it's
hard to say, if it works :)
But it should be possible to just have one menu entry and handle the URL
as
it comes. It just requires some changes in the app to differ between
local URLs
and remote ones.

Greetings, Stephan

-- 
Du musst weiterkaempfen bis zum Umfallen! Und wenn die ganze
Welt 'nen Arsch offen hat oder gerade deswegen. - K. Wecker

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

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