[Geany-devel] [PATCH] reenable save after file changed on disk

Nick Treleaven nick.treleaven at xxxxx
Sun Sep 13 11:36:31 UTC 2009


On Tue, 01 Sep 2009 22:58:10 +0200
Colomban Wendling <ban-ubuntu at club-internet.fr> wrote:

> > When i changed a file in Geany and made e.g. a git checkout or an other
> change with the file on disk, Geany asks me to reload(thats great so far).
> > After i choose "no", as i want to keep my changes i made in Geany, i am
> not able to save the file immediatly after that.
> > The save-button is grayed and i first have to do a little change in the
> file before i can save again.

Save As would be better than an unneeded modification (or use the
hidden pref as mentioned in other replies).

> > This patch fixes this by adding a preference for it. I already had some
> talk about the feature on IRC with Enrico already.

> I think it would be better to have a third "save" button in the dialog
> asking for reload for this purpose. I think it would be more clear and
> user friendly.

This sounds OK.

Also perhaps Geany could color the document tab orange to show that the
document is not on disk as expected.

Regards,
Nick



More information about the Devel mailing list