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

List:       kde-devel
Subject:    Re: Konqueror and service menus
From:       Pascal Francq <pfrancq () ulb ! ac ! be>
Date:       2002-07-31 11:17:05
[Download RAW message or body]

On Friday 26 July 2002 15:48, David Faure wrote:
> On Friday 26 July 2002 15:10, Pascal Francq wrote:
> > On Friday 26 July 2002 13:03, Pascal Francq wrote:
> > > On Friday 26 July 2002 10:46, David Faure wrote:
> > > > On Wednesday 24 July 2002 10:41, Pascal Francq wrote:
> > > > > Hi,
> > > > > I have write a little ".desktop" file for 'text/html' documents.
> > > > > When I open a local document (file:/......) in Konqueror, the menu
> > > > > entries appear without any problem, but when I open a internet
> > > > > document (http:/...) in Konqueror, the menu entries do not appear.
> > > > > Any ideas?
> > > >
> > > > Use %U in the Exec line.
> > >
> > > It was used. I have attached the desktop to this mail, so perhaps you
> > > can test it.
> >
> > In fact when I open html file with an ftp protocol, no problems, the menu
> > entries appear. But when I open a html file through http
> > ("http://www.kde.org") the menu entries do not appear. So it seems that
> > my problem is link to the http protocol. By gthe way, I have KDE 3.0.2
> > installed.
>
> A link over HTTP could point to anything, there's no way to find it's HTML
> before actually opening it (or running a KIO::mimeType() job on it, which
> we don't do when opening the popupmenu, it would be much too slow).
> I guess what you want is a protocol-based selection of the service menus.
> Feel free to add support for X-KDE-Protocol in the servicemenu code,
> a bit like kpropertiesdialog already has.

But, when a HTTP document is viewed, konqueror knows is MIME type because it 
has open the right KPart (KHTML, ........). When the popupmenu is construct, 
it knows the type of the document? There is probably something I miss in way 
the popupmenu is generated I suppose.
-- 


Ir Pascal Francq
Researcher
Université Libre de Bruxelles
CAD/CAM Department
Avenue F.D. Roosevelt, 50
CP 165/14
B-1050 Brussels
BELGIUM
Tel. +32-2-650 47 65
Fax +32-2-650 47 24
ICQ: 91206668


>> 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