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

Erik de Castro Lopo mle+tools at xxxxx
Wed Sep 15 21:57:12 UTC 2010


Nick Treleaven wrote:

> 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?

Actually, doesn't even need a callback. Attached patch moves
the code I initially had in keybindings.c to the end of the
document_remove_page() function in document.c.

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



More information about the Devel mailing list