Re: [PATCH] Drop text in Nautilus window, new file created



On Thu, 2005-06-30 at 14:31 +0200, Christian Neumair wrote:
> Am Donnerstag, den 23.06.2005, 22:07 +0200 schrieb Christian Neumair:
> > Am Dienstag, den 07.06.2005, 11:36 +0200 schrieb Alexander Larsson:
> > > On Thu, 2005-06-02 at 11:33 +0200, Christian Neumair wrote:
> > > > One thing that bugged me for ages in Nautilus is that one can not drop
> > > > text (from gedit, Epiphany) to Nautilus to create a new file. After
> > > > applying the attached patch, this works.
> > 
> > > [patch review]
> > 
> > Thanks for your review! The attached patch should fix all the issues you pointed out.
> 
> OK, new version. I've now also fixed the handle_* method declarations
> and the odd
> nautilus_file_operations_new_file_from_template/target_filename variable
> usage.

I tested this, and it doesn't seem to handle dnd of non-ascii. I tried
to drop "åäö" into a file and got: "\u00e5\u00e4\u00f6".

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a suicidal moralistic assassin with a winning smile and a way with the 
ladies. She's a sharp-shooting psychic safe cracker with the soul of a mighty 
warrior. They fight crime! 




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