Re: [PATCH] Mozilla Drag/drop URL action by file type



On Thu, 2005-05-26 at 12:19 -0400, Dave Ahlswede wrote:
> This is a little patch that would change the default drag/drop behavior
> for Mozilla URLs. Instead of always asking, it would default to linking
> for HTML files, asking for plaintext, and downloading for everything
> else. 
> 
> The reasoning behind this is that most arbitrary filetypes on the web
> are intended to be downloaded locally before being used, and most often
> the remote copy stays about the same. Conversely, HTML files are
> intended to be viewed in-place, and are often updated without the
> filename being changed.
> 
> Text files seemed to be a somewhat grey area, and could fall into either
> of these categories, so they ask by default.

I'm slightly worried about the sync I/O, and the potential for getting
an authentication dialog when doing this I/O. But i think it should be
ok.

Go ahead and commit it.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a shy Catholic jungle king searching for his wife's true killer. She's a 
plucky renegade detective with an MBA from Harvard. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]