[Geany-devel] [Patch] : On closing the last tab create new untitled document.

Nick Treleaven nick.treleaven at xxxxx
Wed Sep 15 14:40:22 UTC 2010


On Tue, 14 Sep 2010 18:03:52 +1000
Erik de Castro Lopo <mle+tools at mega-nerd.com> wrote:

> Currently, when closing the last tab, I get a geany window without
> any text area.
> 
> The attached patch fixes that, by creating a new untitled document
> when the last tab is closed. I've been running with this patch
> for over a week.

Well, the responses are all positive. But I don't think that
keybindings.c is the best place for this code. What about writing it
as an idle callback from document_remove_page?

Regards,
Nick



More information about the Devel mailing list