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

List:       kde-devel
Subject:    Re: khtml: Why strip -plugin suffix?
From:       Matt Rogers <matt.rogers () kdemail ! net>
Date:       2004-04-28 18:14:52
Message-ID: 200404281314.52162.matt.rogers () kdemail ! net
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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