On Tue, 14 Sep 2010 18:40:23 +1000
Erik de Castro Lopo <[email protected]> wrote:

> Doing something like:
> 
>    geany /tmp
> 
> on the command line geany will open with a empty file named "/tmp"
> which cannot be saved because there is a directory /tmp already.
> 
> The attached patch just ignores all filenames passed on the 
> command line which are directories.

Thanks.

I committed a similar change that uses:
g_file_test(filename, G_FILE_TEST_IS_DIR);

Regards,
Nick
_______________________________________________
Geany-devel mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to