From kde-devel Wed Apr 28 18:14:52 2004 From: Matt Rogers Date: Wed, 28 Apr 2004 18:14:52 +0000 To: kde-devel Subject: Re: khtml: Why strip -plugin suffix? Message-Id: <200404281314.52162.matt.rogers () kdemail ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=108317610028568 On Wednesday 28 April 2004 01:04 pm, Ryan Gammon wrote: > Hi folks, > > I'm trying to get konqueror working with the helixcommunity.org helix > player mozilla/netscape/(konq?) plugin (https://player.helixcommunity.org). > > I'm having problems with khtml. It seems to be looking for a service by > the name of "audio/x-pn-realaudio", whereas the generated > nsplugin.desktop file contains audio/x-pn-realaudio-plugin (ie - has a > -plugin suffix). > > Is anyone familar with the story behind this fix? > > http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/khtml/html/html_objectimpl >.cpp.diff?r1=1.108&r2=1.109 > > --- kdelibs/khtml/html/html_objectimpl.cpp 2003/04/30 10:51:19 1.108 > +++ kdelibs/khtml/html/html_objectimpl.cpp 2003/05/22 15:01:57 1.109 > @@ -57,6 +57,9 @@ void HTMLObjectBaseElementImpl::setServi > int pos = serviceType.find( ";" ); > if ( pos!=-1 ) > serviceType = serviceType.left( pos ); > + pos = serviceType.find( "-plugin" ); > + if ( pos!=-1 ) > + serviceType = serviceType.left( pos ); > needWidgetUpdate = true; > } I forwarded your message to kfm-devel. You'll have a better chance of getting an explanation there. :-) Matt >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<