[PATCH] Get rid of dialogs when visiting netvibes.com

Aurélien Gâteau aurelien.gateau at free.fr
Thu Jan 10 09:11:26 GMT 2008


Germain Garand wrote:

> I think what you are looking for is
> KHTMLPart::processObjectRequest( khtml::ChildFrame *child, const KUrl
> &_url, const QString &mimetype )
> 
> I see there already is an unconditional exception for OBJECT:
> 
>     // Before attempting to load a part, check if the user wants that.
>     // Many don't like getting ZIP files embedded.
>     // However we don't want to ask for flash and other plugin things..
>     if ( child->m_type != khtml::ChildFrame::Object )
> 
> so it would be hard to argue against extending that check to
> ChildFrame::IFrame for consistency.

Thanks a lot! Attached simple patch do what you suggest. I believe it's the
best way to fix this.

Now if only I could get rid of the 6 download progress dialogs which come
and go, it would be even nicer. But I am not sure it's possible.

Aurélien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs_netvibes_nodialog3.diff
Type: text/x-diff
Size: 629 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20080110/c9174424/attachment.diff>


More information about the kfm-devel mailing list