[Geany-devel] [PATCH] FIx document_need_save_as() logic

Erik de Castro Lopo mle+tools at xxxxx
Thu Sep 9 09:57:07 UTC 2010


Erik de Castro Lopo wrote:

> Had a minor niggle which i decided to fix. If I do:
> 
>     geany some_file_which_doesn't_exist
> 
> geany will open a new tab with the right file name for the tab. If
> I then add some code/text and try to save the file, geany currently
> throws up a SaveAs dialog box even though it was already given a
> filename earlier.
> 
> The attached patch fixes this (tested on Linux) by changing the
> needs_save_as logic to ignore doc->real_path and only check
> doc->file_name.

Any decision on whether this patch is going to be applied?

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Devel mailing list